Posted by: kezhong | January 7, 2011

How to verify snmp is working with snmpwalk command

Our company had just bought 50 switches for datacenter. And we wanted to know if they support SNMP, because we need to monitor them using cacti in the future.

The default IP of these switches is I set my one of NICs’ IP to Open the browser, login and enter configuration. Check if SNMP Enabled, and read Community. The default Community is “public”.

Execute the snmpwalk command as below, if the output is similar to the following, it will prove snmp is working.
# snmpwalk -Os -v 1 -c public system
sysDescr.0 = STRING: TENDA 16 Port Gigabit Switch – V2.0
sysObjectID.0 = OID: zeroDotZero
sysUpTimeInstance = Timeticks: (209500) 0:34:55.00
sysContact.0 = STRING:
sysName.0 = STRING:
sysLocation.0 = STRING: Shenzhen, China
sysServices.0 = INTEGER: 3



  1. Excellent post. I’m going through some of these issues as well..

  2. use ps -aef command

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: