1SNMPGETNEXT(1) Net-SNMP SNMPGETNEXT(1)
2
3
4
6 snmpgetnext - communicates with a network entity using SNMP GETNEXT
7 requests
8
10 snmpgetnext [COMMON OPTIONS] [-Cf] OID [OID]...
11
13 snmpget is an SNMP application that uses the SNMP GETNEXT request to
14 query for information on a network entity. One or more object identi‐
15 fiers (OIDs) may be given as arguments on the command line. Each vari‐
16 able name is given in the format specified in variables(5). For each
17 one, the variable that is lexicographically "next" in the remote
18 entity's MIB will be returned.
19
20 For example:
21
22 snmpgetnext -c public zeus interfaces.ifTable.ifEntry.ifType.1
23
24 will retrieve the variable interfaces.ifTable.ifEntry.ifType.2:
25
26 interfaces.ifTable.ifEntry.ifType.2 = softwareLoopback(24)
27
28 If the network entity has an error processing the request packet, an
29 error message will be shown, helping to pinpoint in what way the
30 request was malformed.
31
33 snmpgetnext takes the common options described in the snmpcmd(1) manual
34 page and also the -Cf option described in the snmpget(1) manual page.
35
37 snmpcmd(1), snmpget(1), variables(5).
38
39
40
414th Berkeley Distribution 08 Feb 2002 SNMPGETNEXT(1)