white-turtle

web-space of - vishal basra

turtles and code!


SNMP 1/101

How to install SNMPWALK ?

  • sudo yum -y install net-snmp net-snmp-utils
  • A good configuration file to know of /etc/snmp/snmpd.conf
  • chkconfig snmpd on ( or use systemctl )
  • service snmpd restart ( or use systemctl )

Walk the walk!

snmpwalk -v2c -c <community secret> <IP> <OID>

The

  • -c is the client followed by the client IP
  • v2c is teh SNMP version 2

Note that where your’re querying from would have to be white-listed at the source

Ports

The following may be valid SNMP ports

  • 161
  • 162

OSI layer?

Application Layer


vishal@white-turtle.org