Files
cheatsheet-tldr/tldr/snmpget
2025-02-07 00:17:34 +00:00

18 lines
405 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}} {{oid}}`
- Display the full Object Identifier (OID) path:
`snmpget -v {{version}} -c {{community}} -O f {{ip}} {{oid}}`