snmpwalk

Reading Time: < 1 minute

In this segment we are going to talk about using “snmpwalk” to learn more about our devices. We can start simple and build from a foundation. SNMP has 3 versions. The versions essentially control the security about how you validate to a device. SNMP can be used to get a wide range of metrics as well as to “set” values. It’s easy to think of SNMP as pulling switch port statistics but they can pull email counts; number of process; temperature from environmental controls.

apt-get install snmp -y

Let’s say we have done a simple config of a switch enabling only “public” with SNMP Version 1.0

root@host:/home/user# snmpwalk -v1 -c public 192.168.160.5 iso.3.6.1.2.1.2.2.1.10.10140
iso.3.6.1.2.1.2.2.1.10.10140 = Counter32: 2568375858
This entry was posted in Monitoring, Networking. Bookmark the permalink.