SYNOPSIS
snmpgetnext
[COMMON_OPTION]
[
DESCRIPTION
The snmpget utility is an SNMP application that uses the SNMP GETNEXT request to query for information on a network entity. One or more object identifiers (OIDs) may be given as arguments on the command line. Each variable name is given in the format specified in snmp_variables. For each one, the variable that is lexicographically "next" in the remote entity's MIB will be returned.
For example:
$ snmpgetnext -v 1 -c public zeus interfaces.ifTable.ifEntry.ifType.1
will retrieve the variable interfaces.ifTable.ifEntry.ifType.2:
interfaces.ifTable.ifEntry.ifType.2 = softwareLoopback(24)
If the network entity has an error processing the request packet, an error message will be shown, helping to pinpoint in what way the request was malformed.
Options
snmpgetnext takes the common options described in the
snmpcmd reference page and also the
Note that snmpgetnext REQUIRES an argument specifying the agent to query and at least one OID argument, as described there.
PORTABILITY
All UNIX systems. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.
AVAILABILITY
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Commands:
- snmpget
- Miscellaneous:
- snmp_variables, snmpcmd
PTC MKS Toolkit 10.5 Documentation Build 40.