snmpwalk

SNMP query tool. More information: <https://manned.org/snmpwalk>.

Install

All systems
curl cmd.cat/snmpwalk.sh
Debian Debian
apt-get install snmp
Ubuntu
apt-get install snmp
Alpine
apk add net-snmp
Arch Arch Linux
pacman -S net-snmp
image/svg+xml Kali Linux
apt-get install snmp
Fedora
dnf install net-snmp-utils-1
Windows (WSL2)
sudo apt-get update sudo apt-get install snmp
OS X
brew install net-snmp
Raspbian
apt-get install snmp
Docker
docker run cmd.cat/snmpwalk snmpwalk powered by Commando

SNMP query tool. More information: <https://manned.org/snmpwalk>.

  • Query the system information of a remote host using SNMPv1 and a community string:
    snmpwalk -v1 -c community ip
  • Query system information on a remote host by OID using SNMPv2 on a specified port:
    snmpwalk -v2c -c community ip:port oid
  • Query system information on a remote host by OID using SNMPv3 and authentication without encryption:
    snmpwalk -v3 -l authNoPriv -u username -a MD5|SHA -A passphrase ip oid
  • Query system information on a remote host by OID using SNMPv3, authentication, and encryption:
    snmpwalk -v3 -l authPriv -u username -a MD5|SHA -A auth_passphrase -x DES|AES -X enc_passphrase ip oid
  • Query system information on a remote host by OID using SNMPv3 without authentication or encryption:
    snmpwalk -v3 -l noAuthNoPriv -u username ip oid

© tl;dr; authors and contributors