среда, 30 ноября 2011 г.

SNMM WALK

Try to snmpwalk the device using snmp v3 as below :

snmpwalk -v3 -u [SNMPv3 user] -A [password] -l [set-security-level] deviceIP .

-u : is the snmp v3 user.
-A : is the password.
-l : is the authentication mode [noAuthNoPriv|authNoPriv|authPriv].
-a : is the authentication protocol (MD5|SHA).

+ example :

C:\>snmpwalk -v3 -u V3User -A MyPassword -l authNoPriv -a MD5 10.10.10.10. 1.3.6.1. 2.1.1.2 SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.928


Note: In case you are using priv mode following would be the syntax:

C:\>snmpwalk -v3 -u "UserName" -l AuthPriv -a MD5 -A "auth_password" -x DES -X "Priv_password" "Ip address of the device" "OID"

where

-x : is the privacy protocol (DES/AES 128/3DES)
-X : is the privacy protocol password.

Note: In case the snmpwalk fails after putting the correct credentials, please check the engineId configured on the device and the one configured for the user, if the engineId mismatches, reset the engineId to the one configured for the user.


http://docwiki.cisco.com/wiki/Snmp_v3_configurations