Search:

PmWiki

pmwiki.org

edit SideBar

Main / Netsnmp

This tool provides SNMP command functionality.
Options:
-v = SNMP version
-c <string> = community string
-s <string> = SNMP Set string
-t = timeout
-Cp = for snmpwalk, show # variables found
-Os = display MIB object name

examples:
snmpwalk -v 2c -Os -Cp -d -c comm_string tcp:1.1.1.1:5000 .1.2.3.4.5.6.7
snmpget -v 2c -c comm_string tcp:1.1.1.1:5000 .1.2.3.4.5.6.1500.7.8.9.10.11
snmpset -v 2c -c comm_string -t 15 tcp:1.1.1.1:5000 .1.2.3.4.5.6.1500.7.8.9.10.11 -s action

Questions:
What's the difference between a Timeout and Session abort failure?


Page last modified on January 15, 2013, at 09:03 PM