1SNMPBULKGET(1) Net-SNMP SNMPBULKGET(1)
2
3
4
6 snmpbulkget - communicates with a network entity using SNMP GETBULK
7 requests.
8
10 snmpbulkget [COMMON OPTIONS] [-Cn <num>] [-Cr <NUM>] AGENT OID [OID]...
11
13 snmpbulkget is an SNMP application that uses the SNMP GETBULK request
14 to query a network entity efficiently for information. One or more
15 object identifiers (OIDs) may be given as arguments on the command
16 line. Each variable name is given in the format specified in vari‐
17 ables(5).
18
19 If the network entity has an error processing the request packet, an
20 error packet will be returned and a message will be shown, helping to
21 pinpoint why the request was malformed.
22
24 -Cn<NUM>
25 Set the non-repeaters field in the GETBULK PDU. This specifies
26 the number of supplied variables that should not be iterated
27 over. The default is 0.
28
29 -Cr<NUM>
30 Set the max-repetitions field in the GETBULK PDU. This speci‐
31 fies the maximum number of iterations over the repeating vari‐
32 ables. The default is 10.
33
34 In addition to these options, snmpbulkget takes the common options
35 described in the snmpcmd(1) manual page. Note that snmpbulkget
36 REQUIRES an argument specifying the agent to query and at least one
37 OID argument, as described there.
38
40 The command:
41
42 snmpbulkget -v2c -Cn1 -Cr5 -Os -c public zeus system ifTable
43
44 will retrieve the variable system.sysDescr.0 (which is the lexicograph‐
45 ically next object to system) and the first 5 objects in the ifTable:
46
47 sysDescr.0 = STRING: "SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m"
48 ifIndex.1 = INTEGER: 1
49 ifIndex.2 = INTEGER: 2
50 ifDescr.1 = STRING: "lo0"
51 et cetera.
52
54 As the name implies, snmpbulkget utilizes the SNMP GETBULK message,
55 which is not available in SNMPv1.
56
58 snmpcmd(1), variables(5), RFC 1905.
59
60
61
62V5.7.2 01 May 2002 SNMPBULKGET(1)