Changes between Version 13 and Version 14 of netmon2017snmp
- Timestamp:
- Nov 21, 2017, 5:07:21 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
netmon2017snmp
v13 v14 1 1 = SNMP Hands - On = 2 2 3 Through this hands-on you will Install and learn to use the SNMP commands, Explore and identify standard vs enterprise parts of the MIB tree and Install vendor specific MIBs and use those with the SNMP commands 3 Through this hands-on you will Install and learn to use the SNMP commands, Explore and identify standard vs enterprise parts of the MIB tree and Install vendor specific MIBs and use those with the SNMP commands. Start !NetMON VM and log in to the VM. 4 4 5 5 == Remote Access == … … 71 71 Creating this configuration file means you won't have to enter your credentials everytime you use one of the SNMP utilities. Otherwise you would have to add all these values on the command line like this: 72 72 {{{ 73 snmpstatus -v3 -l authNoPriv -a SHA -u admin -A <class passowrd> pcX73 snmpstatus -v3 -l authNoPriv -a SHA -u admin -A <class passowrd> <IP Address> 74 74 }}} 75 75 … … 119 119 === Testing SNMP === 120 120 121 To check that your SNMP installation works, run the snmpstatus command on each of the following devices122 {{{ 123 $ snmpstatus <IP_ADDRESS> 121 To check that your SNMP installation works, run the snmpstatus command on workshop devices (Router and Switch) 122 {{{ 123 $ snmpstatus <IP_ADDRESS> 124 124 }}} 125 125 Note that you just used SNMPv3. Not all devices that implement SNMP support v3. Try again, adding "-v2c" as a parameter. Notice that the command automatically uses the community string in the snmp.conf file instead of the v3 user credentials. Try "-v1". 126 126 127 For the Switch 128 {{{ 129 #snmpstatus 192.248.6.254 130 [UDP: [192.248.6.254]:161->[0.0.0.0]:49723]=>[HP Comware Platform Software, Software 131 Version 5.20 Release 2208P01 132 HP A5500-24G EI Switch with 2 Interface Slots 133 Copyright (c) 2010-2011 Hewlett-Packard Development Company, L.P.] Up: 6:37:18.08 134 135 Interfaces: 34, Recv/Trans packets: 19825513/21718652 | IP: 174730/20535 136 21 interfaces are down! 137 }}} 138 139 For the Router 140 {{{ 141 #snmpstatus 192.248.7.253 142 [UDP: [192.248.7.253]:161->[0.0.0.0]:55583]=>[HPE Comware Platform Software, Software 143 Version 7.1.059, Release 0306P30 144 HPE MSR2003 145 Copyright (c) 2010-2016 Hewlett Packard Enterprise Development LP] Up: 6:39:35.59 146 Interfaces: 2, Recv/Trans packets: 20181722/19906654 | IP: 19966987/16113 147 }}} 148 127 149 === Configuration of snmpd on your PC === 128 150 129 For this exercise you r group needs to verify that the snmpd service is running and responding to queries for all machines in your group. First enable snmpd on your machine, then test if your machine is responding, then check each machine of your other group members.151 For this exercise you needs to verify that the snmpd service is running and responding. First enable snmpd on your machine, then test if your machine is responding, then check each machine of your neighbor. 130 152 131 153 Install the SNMP agent (daemon)