Monday 8 February 2016

Testing an SNMP enabled device via the command line with snmpwalk

With snmpwalk we can quickly test SNMP connectivity with devices such as SMNP enabled routers, UPS's, switches etc.

For this tutorial I will be working on CentOS - although it is worth noting that there are Windows-based implementations of snmpwalk available!

To test connectivity we can issue something like the following at the SMTP-enabled device:

snmpwalk -Os -c [community string] -v [SNMP version] [IP] [OID]


yum install net-snmp-utils

snmpwalk -Os -c public -v 2c 1


Post a Comment