mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
snmpwalk: add page (#4748)
This commit is contained in:
parent
5263906fe0
commit
0254bd4a3b
1 changed files with 24 additions and 0 deletions
24
pages/linux/snmpwalk.md
Normal file
24
pages/linux/snmpwalk.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# snmpwalk
|
||||||
|
|
||||||
|
> SNMP query tool.
|
||||||
|
> More information: <https://linux.die.net/man/1/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}}`
|
Loading…
Add table
Reference in a new issue