Files
cheatsheet-tldr/tldr/snmpget
2025-12-23 00:21:40 +00:00

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]}}`