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

NAME

6       snmpbulkwalk  - retrieve a subtree of management values using SNMP GET‐
7       BULK requests
8

SYNOPSIS

10       snmpbulkwalk [APPLICATION OPTIONS] [COMMON OPTIONS] AGENT [OID]
11

DESCRIPTION

13       snmpbulkwalk is an SNMP application that uses SNMP GETBULK requests  to
14       query a network entity efficiently for a tree of information.
15
16       An  object identifier (OID) may be given on the command line.  This OID
17       specifies which portion of the object identifier space will be searched
18       using  GETBULK  requests.  All variables in the subtree below the given
19       OID are queried and their values presented to the user.  Each  variable
20       name is given in the format specified in variables(5).  If no OID argu‐
21       ment is present, snmpbulkwalk will search MIB-2.
22
23       If the network entity has an error processing the  request  packet,  an
24       error  packet  will be returned and a message will be shown, helping to
25       pinpoint why the request was malformed.
26
27       If the tree search causes attempts to search beyond the end of the MIB,
28       the message "End of MIB" will be displayed.
29

OPTIONS

31       -Cc     Do  not  check  whether the returned OIDs are increasing.  Some
32               agents (LaserJets are an example) return OIDs out of order, but
33               can  complete  the  walk anyway.  Other agents return OIDs that
34               are out of order and can cause  snmpbulkwalk  to  loop  indefi‐
35               nitely.  By default, snmpbulkwalk tries to detect this behavior
36               and warns you when it hits an agent acting illegally.  Use  -Cc
37               to turn off this behaviour.
38
39       -Ci     Include  the given OID in the search range.  Normally snmpbulk‐
40               walk uses GETBULK requests starting with the OID you  specified
41               and  returns all results in the MIB tree after that OID.  Some‐
42               times, you may wish to include the OID specified on the command
43               line  in  the  printed results if it is a valid OID in the tree
44               itself.  This option lets you do this.
45
46       -Cn<NUM>
47               Set the non-repeaters field in the GETBULK PDUs.   This  speci‐
48               fies  the number of supplied variables that should not be iter‐
49               ated over.  The default is 0.
50
51       -Cp     Upon completion of the walk,  print  the  number  of  variables
52               found.
53
54       -Cr<NUM>
55               Set the max-repetitions field in the GETBULK PDUs.  This speci‐
56               fies the maximum number of iterations over the repeating  vari‐
57               ables.  The default is 10.
58
59       In  addition  to  these  options, snmpbulkwalk takes the common options
60       described  in  the  snmpcmd(1)  manual  page.   Note  that  snmpbulkget
61       REQUIRES  an argument specifying the agent to query and at most one OID
62       argument, as described above.
63

EXAMPLE

65       The command:
66
67       snmpbulkwalk -v2c -Os -c public zeus system
68
69       will retrieve all of the variables under system:
70
71       sysDescr.0 = STRING: "SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m"
72       sysObjectID.0 = OID: enterprises.hp.nm.hpsystem.10.1.1
73       sysUpTime.0 = Timeticks: (155274552) 17 days, 23:19:05
74       sysContact.0 = STRING: ""
75       sysName.0 = STRING: "zeus.net.cmu.edu"
76       sysLocation.0 = STRING: ""
77       sysServices.0 = INTEGER: 72
78
79       In contrast to snmpwalk, this information will typically be gathered in
80       a  single  transaction  with the agent, rather than one transaction per
81       variable found.  snmpbulkwalk is thus more efficient in terms  of  net‐
82       work  utilisation,  which  may  be especially important when retrieving
83       large tables.
84

NOTE

86       As the name implies, snmpbulkwalk utilizes the  SNMP  GETBULK  message,
87       which is not available in SNMP v1.
88

SEE ALSO

90       snmpcmd(1), variables(5).
91
92
93
94V5.7.2                            01 May 2002                  SNMPBULKWALK(1)
Impressum