HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

snmpget — Query using the SNMP protocol. More information: <https://manned.org/snmpget>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thesnmpcommandcliqueryusingsnmpgetprotocol

Problem

How to use the snmpget command: Query using the SNMP protocol. More information: <https://manned.org/snmpget>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/snmpget

Revisions (0)

No revisions yet.