mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
465 B
Plaintext
22 lines
465 B
Plaintext
---
|
|
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_address}} {{oid}}`
|
|
|
|
- Display the full Object Identifier (OID) path:
|
|
|
|
`snmpget -v {{version}} -c {{community}} -O f {{ip_address}} {{oid}}`
|
|
|
|
- Display help:
|
|
|
|
`snmpget {{[-h|--help]}}`
|