1SNMPBULKGET(1) Net-SNMP SNMPBULKGET(1)
2
3
4
6 snmpbulkget - communicates with a network entity using SNMP GETBULK
7 requests.
8
10 snmpbulkget [APPLICATION OPTIONS] [COMMON OPTIONS] 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.
36
38 The command:
39
40 snmpbulkget -v2c -Cn1 -Cr5 -Os -c public zeus system ifTable
41
42 will retrieve the variable system.sysDescr.0 (which is the lexicograph‐
43 ically next object to system) and the first 5 objects in the ifTable:
44
45 sysDescr.0 = STRING: "SunOS zeus.net.cmu.edu 4.1.3_U1 1 sun4m"
46 ifIndex.1 = INTEGER: 1
47 ifIndex.2 = INTEGER: 2
48 ifDescr.1 = STRING: "lo0"
49 et cetera.
50
52 As the name implies, snmpbulkget utilizes the SNMP GETBULK message,
53 which is not available in SNMPv1.
54
56 snmpcmd(1), variables(5), RFC 1905.
57
58
59
604th Berkeley Distribution 08 Feb 2002 SNMPBULKGET(1)