/
snmp views to control what can be collected
snmp views to control what can be collected
define the view |
|
---|---|
| snmp view cutdown 1.3.6.1.6.3.15 excluded snmp view cutdown 1.3.6.1.6.3.16 excluded
|
Example | iso, at, cisco stuff : not supported iso use 1.3 instead
|
Configuration |
|
| R1#show running-config snmp
snmp trap-source any
snmp traps config
snmp traps sys-monitor
snmp traps alarm
snmp contact JLK
snmp location Wales
snmp manager 192.168.226.130 v3auth informs
snmp manager 192.168.226.130 v3pri informs
snmp manager 192.168.226.130 v3 informs
snmp group v3grp v3priv read view_all write view_all
snmp group v3grp2 v3priv read cutdown
snmp set-read-community public
snmp set-write-community private
snmp view cutdown 1.3 included
snmp view cutdown 1.3.6.1.6.3.15 excluded
snmp view cutdown 1.3.6.1.6.3.16 excluded
snmp view cutdown 1.3.6.1.6.3.18 excluded
snmp view view_all 1.3 included
snmp user v3user2 v3grp2 v3 auth md5 v3useruser
snmp user v3user2 v3grp2 v3 priv des v3useruser |
| !!! snmp user xxxx ( not in the “show” command ) snmp user v3user2 v3grp2 v3 auth md5 v3useruser |
| R1#show snmp users
User / Group: v3user / v3grp
EngineId: 8000338703000c296261cf
Proto / Active: MD5/DES / yes
User / Group: v3user2 / v3grp2
EngineId: 8000338703000c296261cf
Proto / Active: MD5/DES / yes
|
test | snmpwalk |
| me@cl-gg-00029:jean-luc.kriker$ snmpwalk -v 3 -l authPriv -u v3user2 -a MD5 -A v3useruser -x DES -X v3useruser 192.168.56.134 1.3.6.1.6.3
iso.3.6.1.6.3.1.1.6.1.0 = INTEGER: 114925991
iso.3.6.1.6.3.10.2.1.1.0 = Hex-STRING: 80 00 33 87 03 00 0C 29 62 61 CF
iso.3.6.1.6.3.10.2.1.2.0 = INTEGER: 12
iso.3.6.1.6.3.10.2.1.3.0 = INTEGER: 43614
iso.3.6.1.6.3.10.2.1.4.0 = INTEGER: 8192
iso.3.6.1.6.3.11.2.1.1.0 = Counter32: 0
iso.3.6.1.6.3.11.2.1.2.0 = Counter32: 0
iso.3.6.1.6.3.11.2.1.3.0 = Counter32: 50
iso.3.6.1.6.3.11.2.1.3.0 = No more variables left in this MIB View (It is past the end of the MIB tree)
me@cl-gg-00029:jean-luc.kriker$ snmpwalk -v 3 -l authPriv -u v3user2 -a MD5 -A v3useruser -x DES -X v3useruser 192.168.56.134 1.3.6.1.6.3.16
iso.3.6.1.6.3.16 = No more variables left in this MIB View (It is past the end of the MIB tree)
me@cl-gg-00029:jean-luc.kriker$ snmpwalk -v 3 -l authPriv -u v3user2 -a MD5 -A v3useruser -x DES -X v3useruser 192.168.56.134 1.3.6.1.6.3.15
iso.3.6.1.6.3.15 = No more variables left in this MIB View (It is past the end of the MIB tree)
me@cl-gg-00029:jean-luc.kriker$ |
|
|
|
|
, multiple selections available,
Related content
Basic SNMP v2 config
Basic SNMP v2 config
More like this
snmp object full list
snmp object full list
More like this
config snmp v2 and v3 by CLI
config snmp v2 and v3 by CLI
More like this
Enable SNMP on ESXi
Enable SNMP on ESXi
More like this
SNMP OcNOS
SNMP OcNOS
More like this
snmp for twamp result
snmp for twamp result
More like this