From 0254bd4a3b86ac922ce2f51c16cc56a8672cf6e7 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 19 Oct 2020 20:44:16 +0200 Subject: [PATCH] snmpwalk: add page (#4748) --- pages/linux/snmpwalk.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/snmpwalk.md diff --git a/pages/linux/snmpwalk.md b/pages/linux/snmpwalk.md new file mode 100644 index 000000000..7c39c82eb --- /dev/null +++ b/pages/linux/snmpwalk.md @@ -0,0 +1,24 @@ +# snmpwalk + +> SNMP query tool. +> More information: . + +- 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}}`