~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to man/snmpgetnext.1.def

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" /***********************************************************
 
2
.\"     Copyright 1988, 1989 by Carnegie Mellon University
 
3
.\" 
 
4
.\"                       All Rights Reserved
 
5
.\" 
 
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.  
 
13
.\" 
 
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
 
20
.\" SOFTWARE.
 
21
.\" ******************************************************************/
 
22
.TH SNMPGETNEXT 1 "08 Feb 2002" VVERSIONINFO "Net-SNMP"
 
23
.UC 4
 
24
.SH NAME
 
25
snmpgetnext - communicates with a network entity using SNMP GET NEXT Requests.
 
26
.SH SYNOPSIS
 
27
.B snmpgetnext
 
28
[COMMON OPTIONS] [-Cf] OID [OID]...
 
29
.SH DESCRIPTION
 
30
.B snmpget
 
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
 
35
.IR variables(5) .
 
36
For each one, the variable that is lexicographically "next" in the
 
37
remote entity's MIB will be returned.
 
38
.PP
 
39
For example:
 
40
.PP
 
41
snmpgetnext -c public zeus interfaces.ifTable.ifEntry.ifType.1
 
42
.PP
 
43
will retrieve the variable interfaces.ifTable.ifEntry.ifType.2:
 
44
.PP
 
45
interfaces.ifTable.ifEntry.ifType.2 = softwareLoopback(24)
 
46
.PP
 
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.
 
50
.SH OPTIONS
 
51
.B snmpgetnext
 
52
takes the common options described in the
 
53
.I snmpcmd(1)
 
54
manual page and also the
 
55
.B -Cf
 
56
option described in the
 
57
.I snmpget(1)
 
58
manual page.
 
59
.SH "SEE ALSO"
 
60
snmpcmd(1), snmpget(1), variables(5).