1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:42:08 +02:00
tldr/pages/linux/snmpwalk.md
marchersimon dac4a71077
multiple pages: replace all die.net links (#5528)
Most of the links were replaced by manned.org,
except when there are more up-to-date sources (like `ifup`)
or first-party sources (like `sftp`).
2021-04-16 15:42:14 +01:00

996 B

snmpwalk

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 specific system information on a remote host by OID using SNMPv2 on a specified port:

snmpwalk -v2c -c {{community}} {{ip}}:{{port}} {{oid}}

  • Query specific 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 specific 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 specific system information on a remote host by OID using SNMPv3 without authentication or encryption:

snmpwalk -v3 -l {{noAuthNoPriv}} -u {{username}} {{ip}} {{oid}}