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 192.168.0.1. I set my one of NICs’ IP to 192.168.0.2. 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 192.168.0.1 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: http://www.tenda.com.cn
sysName.0 = STRING:
sysLocation.0 = STRING: Shenzhen, China
sysServices.0 = INTEGER: 3