mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 12:52:59 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/snmpget
Normal file
17
tldr/snmpget
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# snmpget
|
||||
|
||||
> Query using the SNMP protocol.
|
||||
> More information: <https://manned.org/snmpget>.
|
||||
|
||||
- Request a single value from the SNMP agent:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}} {{oid}}`
|
||||
|
||||
- Display the full Object Identifier (OID) path:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} -O f {{ip}} {{oid}}`
|
||||
Reference in New Issue
Block a user