How to specify a port for snmpwalk

Once I needed to perform snmpwalk with a non-standard SNMP port, since the devices that were polled were behind the same router, so the ports were forwarded to them.

It’s simple, when executing snmpwalk, the port is specified after the IP address separated by a colon, here is an example:

snmpwalk -v2c -c

See also my other articles about SNMP MIBs and OIDs

Leave a comment

Leave a Reply