Changes between Version 8 and Version 9 of netmon2017snmp


Ignore:
Timestamp:
Nov 13, 2017, 6:26:37 AM (6 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • netmon2017snmp

    v8 v9  
    148148$ mkdir .snmp
    149149$ chmod 700 .snmp/
    150 $ editor .snmp/snmp.conf
     150$ vi .snmp/snmp.conf
    151151}}}
    152152
     
    168168
    169169=== Configure SNMP on Your !Router/Switch (Already Done) ===
     170
     171==== Cisco ====
    170172
    171173connect to your router and go to configure mode.
     
    188190Router# exit       
    189191}}}             
     192
     193==== HP ====
     194Connect to the Router and go to config mode
     195{{{
     196<Router> system-view
     197}}}
     198
     199Add 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
    190210Now to see if your changes are working.
    191211
     
    197217}}}
    198218Note 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 OID
    205 {{{
    206 
    207 }}}
    208 You will try this with two forms of the snmpwalk command:
    209 {{{
    210 $ snmpwalk <IP_ADDRESS> <OID>
    211 }}}
    212 
    213 and
    214 {{{
    215 $ snmpwalk -On <IP_ADDRESS> <OID>
    216 }}}
    217 
    218 example :
    219219
    220220=== Configuration of snmpd on your PC ===
     
    275275}}}
    276276
     277=== SNMP Walk and OIDs ===
     278
     279Now, 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
     281OID
     282{{{
     283
     284}}}
     285You will try this with two forms of the snmpwalk command:
     286{{{
     287$ snmpwalk <IP_ADDRESS> <OID>
     288}}}
     289
     290and
     291{{{
     292$ snmpwalk -On <IP_ADDRESS> <OID>
     293}}}
     294
     295example :
     296
    277297=== Adding MIBs ===
    278298