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 SNMPBULKWALK 1 "17 Jun 1998" "" "Net-SNMP"
25 snmpbulkwalk - communicates with a network entity using SNMP BULK Requests.
28 [APPLICATION OPTIONS] [COMMON OPTIONS] [OID]
31 is an SNMP application that uses SNMP GETBULK requests to query a
32 network entity efficiently for a tree of information.
34 An object identifier (OID) may be given on the command line. This OID
35 specifies which portion of the object identifier space will be
36 searched using GETBULK requests. All variables in the subtree below
37 the given OID are queried and their values presented to the user.
38 Each variable name is given in the format specified in
40 If no OID argument is present,
44 If the network entity has an error processing the request packet, an
45 error packet will be returned and a message will be shown, helping to
46 pinpoint why the request was malformed.
48 If the tree search causes attempts to search beyond the end of the
49 MIB, the message "End of MIB" will be displayed.
53 Do not check whether the returned OIDs are increasing. Some agents
54 (LaserJets are an example) return OIDs out of order, but can
55 complete the walk anyway. Other agents return OIDs that are out of
58 to loop indefinitely. By default,
60 tries to detect this behavior and warns you when it hits an agent
63 to turn off this behaviour.
66 Include the given OID in the search range. Normally
68 uses GETBULK requests starting with the OID you specified and returns
69 all results in the MIB tree after that OID. Sometimes, you may wish
70 to include the OID specified on the command line in the printed
71 results if it is a valid OID in the tree itself. This option lets you
77 field in the GETBULK PDUs. This specifies the number of supplied
78 variables that should not be iterated over. The default is 0.
81 Upon completion of the walk, print the number of variables found.
86 field in the GETBULK PDUs. This specifies the maximum number of
87 iterations over the repeating variables. The default is 10.
89 In addition to these options,
91 takes the common options described in the
97 snmpbulkwalk -v2c -Os -c public zeus system
99 will retrieve all of the variables under system:
101 sysDescr.0 = STRING: "SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m"
103 sysObjectID.0 = OID: enterprises.hp.nm.hpsystem.10.1.1
105 sysUpTime.0 = Timeticks: (155274552) 17 days, 23:19:05
107 sysContact.0 = STRING: ""
109 sysName.0 = STRING: "zeus.net.cmu.edu"
111 sysLocation.0 = STRING: ""
113 sysServices.0 = INTEGER: 72
117 this information will typically be gathered in a single transaction
118 with the agent, rather than one transaction per variable found.
120 is thus more efficient in terms of network utilisation, which may be
121 especially important when retrieving large tables.
125 utilizes the SNMP GETBULK message, which is not available in SNMP v1.
127 snmpcmd(1), variables(5).