LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

snmpgetnext

Retrieve next SNMP OID value sequentially

TLDR

Get next OID value
$ snmpgetnext -v [2c] -c [public] [host] [OID]
copy
Get next with SNMPv3
$ snmpgetnext -v [3] -u [user] -l authPriv -a SHA -A [authpass] -x AES -X [privpass] [host] [OID]
copy

SYNOPSIS

snmpgetnext [options] agent oid...

DESCRIPTION

snmpgetnext retrieves the lexicographically next OID value from an SNMP agent. Used for walking MIB trees and discovering available OIDs. Part of Net-SNMP suite.

PARAMETERS

-v version

SNMP version (1, 2c, 3).
-c community
Community string.
-u user
SNMPv3 username.
-l level
Security level (noAuthNoPriv, authNoPriv, authPriv).
-O opts
Output format options.

SEE ALSO

Copied to clipboard
Kai