Changes between Version 8 and Version 9 of netmon2017snmp
- Timestamp:
- Nov 13, 2017, 6:26:37 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
netmon2017snmp
v8 v9 148 148 $ mkdir .snmp 149 149 $ chmod 700 .snmp/ 150 $ editor.snmp/snmp.conf150 $ vi .snmp/snmp.conf 151 151 }}} 152 152 … … 168 168 169 169 === Configure SNMP on Your !Router/Switch (Already Done) === 170 171 ==== Cisco ==== 170 172 171 173 connect to your router and go to configure mode. … … 188 190 Router# exit 189 191 }}} 192 193 ==== HP ==== 194 Connect to the Router and go to config mode 195 {{{ 196 <Router> system-view 197 }}} 198 199 Add the following configurations 200 {{{ 201 [Router]acl number 2000 202 [Router-acl-basic-2000]rule 0 permit source 192.248.0.0 0.0.255.255 203 [Router]snmp-agent 204 [Router]snmp-agent community read NetManage 205 [Router]snmp-agent sys-info version all 206 [Router]snmp-agent group v3 ReadGroup authentication acl 2000 207 [Router]snmp-agent usm-user v3 admin ReadGroup authentication-mode sha ]X'HZJP&@!!'OJC-8#V/`,NY%"E! 208 }}} 209 190 210 Now to see if your changes are working. 191 211 … … 197 217 }}} 198 218 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". 199 200 === SNMP Walk and OIDs ===201 202 Now, you are going to use the snmpwalk command, part of the SNMP toolkit, to list the tables associated with the OIDs listed below, on each piece of equipment you tried above:203 204 OID205 {{{206 207 }}}208 You will try this with two forms of the snmpwalk command:209 {{{210 $ snmpwalk <IP_ADDRESS> <OID>211 }}}212 213 and214 {{{215 $ snmpwalk -On <IP_ADDRESS> <OID>216 }}}217 218 example :219 219 220 220 === Configuration of snmpd on your PC === … … 275 275 }}} 276 276 277 === SNMP Walk and OIDs === 278 279 Now, you are going to use the snmpwalk command, part of the SNMP toolkit, to list the tables associated with the OIDs listed below, on each piece of equipment you tried above: 280 281 OID 282 {{{ 283 284 }}} 285 You will try this with two forms of the snmpwalk command: 286 {{{ 287 $ snmpwalk <IP_ADDRESS> <OID> 288 }}} 289 290 and 291 {{{ 292 $ snmpwalk -On <IP_ADDRESS> <OID> 293 }}} 294 295 example : 296 277 297 === Adding MIBs === 278 298