From cd7c384e03f93179d6ede7fb8645d6bdf225e89e Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 6 Feb 2025 18:56:23 +0200 Subject: [PATCH] snmpwalk: move to common, update page (#15701) --- pages/{linux => common}/snmpwalk.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename pages/{linux => common}/snmpwalk.md (58%) diff --git a/pages/linux/snmpwalk.md b/pages/common/snmpwalk.md similarity index 58% rename from pages/linux/snmpwalk.md rename to pages/common/snmpwalk.md index 49f5230f6f..83c2f6fcc8 100644 --- a/pages/linux/snmpwalk.md +++ b/pages/common/snmpwalk.md @@ -5,20 +5,20 @@ - Query the system information of a remote host using SNMPv1 and a community string: -`snmpwalk -v1 -c {{community}} {{ip}}` +`snmpwalk -v 1 -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}}` +`snmpwalk -v 2c -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}}` +`snmpwalk -v 3 -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}}` +`snmpwalk -v 3 -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}}` +`snmpwalk -v 3 -l {{noAuthNoPriv}} -u {{username}} {{ip}} {{oid}}`