2020-10-19 19:44:16 +01:00
|
|
|
# snmpwalk
|
|
|
|
|
|
|
|
> SNMP query tool.
|
2021-04-16 15:42:14 +01:00
|
|
|
> More information: <https://manned.org/snmpwalk>.
|
2020-10-19 19:44:16 +01:00
|
|
|
|
|
|
|
- Query the system information of a remote host using SNMPv1 and a community string:
|
|
|
|
|
|
|
|
`snmpwalk -v1 -c {{community}} {{ip}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Query system information on a remote host by OID using SNMPv2 on a specified port:
|
2020-10-19 19:44:16 +01:00
|
|
|
|
|
|
|
`snmpwalk -v2c -c {{community}} {{ip}}:{{port}} {{oid}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Query system information on a remote host by OID using SNMPv3 and authentication without encryption:
|
2020-10-19 19:44:16 +01:00
|
|
|
|
|
|
|
`snmpwalk -v3 -l {{authNoPriv}} -u {{username}} -a {{MD5|SHA}} -A {{passphrase}} {{ip}} {{oid}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Query system information on a remote host by OID using SNMPv3, authentication, and encryption:
|
2020-10-19 19:44:16 +01:00
|
|
|
|
|
|
|
`snmpwalk -v3 -l {{authPriv}} -u {{username}} -a {{MD5|SHA}} -A {{auth_passphrase}} -x {{DES|AES}} -X {{enc_passphrase}} {{ip}} {{oid}}`
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
- Query system information on a remote host by OID using SNMPv3 without authentication or encryption:
|
2020-10-19 19:44:16 +01:00
|
|
|
|
|
|
|
`snmpwalk -v3 -l {{noAuthNoPriv}} -u {{username}} {{ip}} {{oid}}`
|