Pages

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]

e.g.:

yum install net-snmp-utils

snmpwalk -Os -c public -v 2c 10.0.3.3 1

No comments:

Post a Comment