{
    "content": [
        {
            "type": "text",
            "text": "# SNMPGETNEXT (man)\n\n## NAME\n\nsnmpgetnext - communicates with a network entity using SNMP GETNEXT requests\n\n## SYNOPSIS\n\nsnmpgetnext [COMMON OPTIONS] [-Cf] AGENT OID [OID]...\n\n## DESCRIPTION\n\nsnmpgetnext  is  an SNMP application that uses the SNMP GETNEXT request to query for informa‐\ntion on a network entity.  One or more object identifiers (OIDs) may be given as arguments on\nthe  command line.  Each variable name is given in the format specified in variables(5).  For\neach one, the variable that is lexicographically \"next\" in the remote entity's  MIB  will  be\nreturned.\n\n## TLDR\n\n> Query the next value in the MIB tree.\n\n- Request the next value from the SNMP agent:\n  `snmpgetnext -v {{version}} -c {{community}} {{ip_address}} {{oid}}`\n- Display the full Object Identifier (OID) path:\n  `snmpgetnext -v {{version}} -c {{community}} -O f {{ip_address}} {{oid}}`\n- Display help:\n  `snmpgetnext {{-h|--help}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (1 subsections)\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "SNMPGETNEXT",
        "section": "",
        "mode": "man",
        "summary": "snmpgetnext - communicates with a network entity using SNMP GETNEXT requests",
        "synopsis": "snmpgetnext [COMMON OPTIONS] [-Cf] AGENT OID [OID]...",
        "tldr_summary": "Query the next value in the MIB tree.",
        "tldr_examples": [
            {
                "description": "Request the next value from the SNMP agent",
                "command": "snmpgetnext -v {{version}} -c {{community}} {{ip_address}} {{oid}}"
            },
            {
                "description": "Display the full Object Identifier (OID) path",
                "command": "snmpgetnext -v {{version}} -c {{community}} -O f {{ip_address}} {{oid}}"
            },
            {
                "description": "Display help",
                "command": "snmpgetnext {{-h|--help}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "status) will try to fix errors returned by the agent that you were talking to and re‐ send the request. The only time this is really useful is if you specified a OID that didn't exist in your request and you're using SNMPv1 which requires \"all or nothing\" kinds of requests. In addition to this option, snmpgetnext takes the common options described in the snmpcmd(1) manual page. Note that snmpgetnext REQUIRES an argument specifying the agent to query and at least one OID argument, as described there."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "snmpcmd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/snmpcmd/1/json"
            },
            {
                "name": "snmpget",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/snmpget/1/json"
            },
            {
                "name": "variables",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/variables/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-Cf -Cf",
                        "lines": 9
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "snmpgetnext - communicates with a network entity using SNMP GETNEXT requests\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "snmpgetnext [COMMON OPTIONS] [-Cf] AGENT OID [OID]...\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "snmpgetnext  is  an SNMP application that uses the SNMP GETNEXT request to query for informa‐\ntion on a network entity.  One or more object identifiers (OIDs) may be given as arguments on\nthe  command line.  Each variable name is given in the format specified in variables(5).  For\neach one, the variable that is lexicographically \"next\" in the remote entity's  MIB  will  be\nreturned.\n\nFor example:\n\nsnmpgetnext -c public zeus interfaces.ifTable.ifEntry.ifType.1\n\nwill retrieve the variable interfaces.ifTable.ifEntry.ifType.2:\n\ninterfaces.ifTable.ifEntry.ifType.2 = softwareLoopback(24)\n\nIf  the  network  entity has an error processing the request packet, an error message will be\nshown, helping to pinpoint in what way the request was malformed.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-Cf -Cf",
                        "content": "status) will try to fix errors returned by the agent that you were talking to and re‐\nsend the request.  The only time this is really useful is if you specified a OID that\ndidn't  exist in your request and you're using SNMPv1 which requires \"all or nothing\"\nkinds of requests.\n\nIn addition to this option, snmpgetnext takes the common options described in the  snmpcmd(1)\nmanual page.  Note that snmpgetnext REQUIRES an argument specifying the agent to query and at\nleast one OID argument, as described there.\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "snmpcmd(1), snmpget(1), variables(5).\n\n\n\nV5.9.1                                       04 Mar 2002                              SNMPGETNEXT(1)",
                "subsections": []
            }
        }
    }
}