{
    "mode": "man",
    "parameter": "snmpbulkget",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/snmpbulkget/1/json",
    "generated": "2026-06-15T16:27:43Z",
    "synopsis": "snmpbulkget [COMMON OPTIONS] [-Cn <num>] [-Cr <NUM>] AGENT OID [OID]...",
    "sections": {
        "NAME": {
            "content": "snmpbulkget - communicates with a network entity using SNMP GETBULK requests.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "snmpbulkget [COMMON OPTIONS] [-Cn <num>] [-Cr <NUM>] AGENT OID [OID]...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "snmpbulkget  is an SNMP application that uses the SNMP GETBULK request to query a network en‐\ntity efficiently for information.  One or more object identifiers (OIDs) may be given as  ar‐\nguments  on  the  command line.  Each variable name is given in the format specified in vari‐\nables(5).\n\nIf the network entity has an error processing the request packet, an error packet will be re‐\nturned and a message will be shown, helping to pinpoint why the request was malformed.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-Cn",
                    "content": "Set  the  non-repeaters  field in the GETBULK PDU.  This specifies the number of sup‐\nplied variables that should not be iterated over.  The default is 0.\n"
                },
                {
                    "name": "-Cr",
                    "content": "Set the max-repetitions field in the GETBULK PDU.  This specifies the maximum  number\nof iterations over the repeating variables.  The default is 10.\n\nIn  addition  to  these  options,  snmpbulkget takes the common options described in the snm‐\npcmd(1) manual page.  Note that snmpbulkget REQUIRES  an argument  specifying  the  agent  to\nquery and at least one OID argument, as described there.\n"
                }
            ]
        },
        "EXAMPLE": {
            "content": "The command:\n\nsnmpbulkget -v2c -Cn1 -Cr5 -Os -c public zeus system ifTable\n\nwill  retrieve  the variable system.sysDescr.0 (which is the lexicographically next object to\nsystem) and the first 5 objects in the ifTable:\n\nsysDescr.0 = STRING: \"SunOS zeus.net.cmu.edu 4.1.3U1 1 sun4m\"\nifIndex.1 = INTEGER: 1\nifIndex.2 = INTEGER: 2\nifDescr.1 = STRING: \"lo0\"\net cetera.\n",
            "subsections": []
        },
        "NOTE": {
            "content": "As the name implies, snmpbulkget utilizes the SNMP GETBULK message, which is not available in\nSNMPv1.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "snmpcmd(1), variables(5), RFC 1905.\n\n\n\nV5.9.1                                       01 May 2002                              SNMPBULKGET(1)",
            "subsections": []
        }
    },
    "summary": "snmpbulkget - communicates with a network entity using SNMP GETBULK requests.",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set the non-repeaters field in the GETBULK PDU. This specifies the number of sup‐ plied variables that should not be iterated over. The default is 0."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "Set the max-repetitions field in the GETBULK PDU. This specifies the maximum number of iterations over the repeating variables. The default is 10. In addition to these options, snmpbulkget takes the common options described in the snm‐ pcmd(1) manual page. Note that snmpbulkget REQUIRES an argument specifying the agent to query and at least one OID argument, as described there."
        }
    ],
    "examples": [
        "The command:",
        "snmpbulkget -v2c -Cn1 -Cr5 -Os -c public zeus system ifTable",
        "will  retrieve  the variable system.sysDescr.0 (which is the lexicographically next object to",
        "system) and the first 5 objects in the ifTable:",
        "sysDescr.0 = STRING: \"SunOS zeus.net.cmu.edu 4.1.3U1 1 sun4m\"",
        "ifIndex.1 = INTEGER: 1",
        "ifIndex.2 = INTEGER: 2",
        "ifDescr.1 = STRING: \"lo0\"",
        "et cetera."
    ],
    "see_also": [
        {
            "name": "snmpcmd",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/snmpcmd/1/json"
        },
        {
            "name": "variables",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/variables/5/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "Query the next value in the MIB tree and all of its adjacent values.",
        "examples": [
            {
                "description": "Request the next value from the SNMP agent",
                "command": "snmpbulkget -v {{version}} -c {{community}} {{ip_address}} {{oid}}"
            },
            {
                "description": "Display the full Object Identifier (OID) path",
                "command": "snmpbulkget -v {{version}} -c {{community}} -O f {{ip_address}} {{oid}}"
            },
            {
                "description": "Display help",
                "command": "snmpbulkget {{-h|--help}}"
            }
        ]
    }
}