1SNMPGETNEXT(1)                     Net-SNMP                     SNMPGETNEXT(1)
2
3
4

NAME

6       snmpgetnext  -  communicates  with  a network entity using SNMP GETNEXT
7       requests
8

SYNOPSIS

10       snmpgetnext [COMMON OPTIONS] [-Cf] AGENT OID [OID]...
11

DESCRIPTION

13       snmpgetnext is an SNMP application that uses the SNMP  GETNEXT  request
14       to query for information on a network entity.  One or more object iden‐
15       tifiers (OIDs) may be given as arguments on  the  command  line.   Each
16       variable  name  is  given in the format specified in variables(5).  For
17       each 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

OPTIONS

33       -Cf     If -Cf is not specified, some applications (snmpdelta, snmpget,
34               snmpgetnext and snmpstatus) will try to fix errors returned  by
35               the agent that you were talking to and resend the request.  The
36               only time this is really useful is if you specified a OID  that
37               didn't  exist  in  your  request  and you're using SNMPv1 which
38               requires "all or nothing" kinds of requests.
39
40       In addition to  this  option,  snmpgetnext  takes  the  common  options
41       described  in  the  snmpcmd(1)  manual  page.   Note  that  snmpgetnext
42       REQUIRES an argument specifying the agent to query and at least one OID
43       argument, as described there.
44

SEE ALSO

46       snmpcmd(1), snmpget(1), variables(5).
47
48
49
50V5.8                              04 Mar 2002                   SNMPGETNEXT(1)
Impressum