1 .\" /***********************************************************
2 .\" Copyright 1988, 1989 by Carnegie Mellon University
4 .\" All Rights Reserved
6 .\" Permission to use, copy, modify, and distribute this software and its
7 .\" documentation for any purpose and without fee is hereby granted,
8 .\" provided that the above copyright notice appear in all copies and that
9 .\" both that copyright notice and this permission notice appear in
10 .\" supporting documentation, and that the name of CMU not be
11 .\" used in advertising or publicity pertaining to distribution of the
12 .\" software without specific, written prior permission.
14 .\" CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15 .\" ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16 .\" CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17 .\" ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18 .\" WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
19 .\" ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
21 .\" ******************************************************************/
22 .TH SNMPGETNEXT 1 "08 Feb 2002" VVERSIONINFO "Net-SNMP"
25 snmpgetnext - communicates with a network entity using SNMP GET NEXT Requests.
28 [COMMON OPTIONS] [-Cf] OID [OID]...
31 is an SNMP application that uses the SNMP GETNEXT request to query for
32 information on a network entity. One or more object identifiers
33 (OIDs) may be given as arguments on the command line. Each variable
34 name is given in the format specified in
36 For each one, the variable that is lexicographically "next" in the
37 remote entity's MIB will be returned.
41 snmpgetnext -c public zeus interfaces.ifTable.ifEntry.ifType.1
43 will retrieve the variable interfaces.ifTable.ifEntry.ifType.2:
45 interfaces.ifTable.ifEntry.ifType.2 = softwareLoopback(24)
47 If the network entity has an error processing the request packet, an
48 error message will be shown, helping to pinpoint in what way the
49 request was malformed.
52 takes the common options described in the
54 manual page and also the
56 option described in the
60 snmpcmd(1), snmpget(1), variables(5).