{
    "content": [
        {
            "type": "text",
            "text": "# dcb-dcbx(8) (man)\n\n**Summary:** dcb-dcbx - show / manipulate port DCBX (Data Center Bridging eXchange)\n\n**Synopsis:** dcb [ OPTIONS ] dcbx { COMMAND | help }\ndcb dcbx show dev DEV\ndcb dcbx set dev DEV [ host ] [ lld-managed ] [ cee ] [ ieee ] [ static ]\n\n## See Also\n\n- dcb(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (8 lines)\n- **DESCRIPTION** (13 lines)\n- **PARAMETERS** (5 lines) — 4 subsections\n  - host (1 lines)\n  - lld-managed (5 lines)\n  - cee (9 lines)\n  - EXAMPLE & USAGE (13 lines)\n- **EXIT STATUS** (3 lines)\n- **SEE ALSO** (3 lines)\n- **REPORTING BUGS** (5 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\ndcb-dcbx - show / manipulate port DCBX (Data Center Bridging eXchange)\n\n### SYNOPSIS\n\ndcb [ OPTIONS ] dcbx { COMMAND | help }\n\n\ndcb dcbx show dev DEV\n\ndcb dcbx set dev DEV [ host ] [ lld-managed ] [ cee ] [ ieee ] [ static ]\n\n### DESCRIPTION\n\nData Center Bridging eXchange (DCBX) is a protocol used by DCB devices to exchange configura‐\ntion information with directly connected peers. The Linux DCBX object is a 1-byte bitfield of\nflags that configure whether DCBX is implemented in the device or in the host, and which ver‐\nsion of the protocol should be used.  dcb dcbx is used to access the per-port Linux DCBX ob‐\nject.\n\nThere are two principal modes of operation: in host mode, DCBX protocol is implemented by the\nhost LLDP agent, and the DCB interfaces are used to propagate the negotiate parameters to ca‐\npable devices. In lld-managed mode, the configuration is handled by the device, and DCB in‐\nterfaces are used for inspection of negotiated parameters, and can also be used to set ini‐\ntial parameters.\n\n### PARAMETERS\n\nWhen used with dcb dcbx set, the following keywords enable the corresponding configuration.\nThe keywords that are not mentioned on the command line are considered disabled. When used\nwith show, each enabled feature is shown by its corresponding keyword.\n\n#### host\n\n#### lld-managed\n\nThe device is in the host mode of operation and, respectively, the lld-managed mode of\noperation, as described above. In principle these two keywords are mutually exclusive,\nbut dcb dcbx allows setting both and lets the driver handle it as appropriate.\n\n#### cee\n\nieee   The device supports CEE (Converged Enhanced Ethernet) and, respecively, IEEE version\nof the DCB specification. Typically only one of these will be set, but dcb dcbx does\nnot mandate this.\n\n\nstatic indicates the engine supports static configuration. No actual negotiation is per‐\nformed, negotiated parameters are always the initial configuration.\n\n#### EXAMPLE & USAGE\n\nPut the DCB engine into the \"host\" mode of operation, and use IEEE-standardized DCB inter‐\nfaces:\n\n\n# dcb dcbx set dev eth0 host ieee\n\nShow what was set:\n\n\n# dcb dcbx show dev eth0\nhost ieee\n\n### EXIT STATUS\n\nExit status is 0 if command was successful or a positive integer upon failure.\n\n### SEE ALSO\n\ndcb(8)\n\n### REPORTING BUGS\n\nReport any bugs to the Network Developers mailing list <netdev@vger.kernel.org> where the de‐\nvelopment and maintenance is primarily done.  You do not have to be subscribed to the list to\nsend a message there.\n\n### AUTHOR\n\nPetr Machata <me@pmachata.org>\n\n\n\niproute2                                  13 December 2020                               DCB-DCBX(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "dcb-dcbx",
        "section": "8",
        "mode": "man",
        "summary": "dcb-dcbx - show / manipulate port DCBX (Data Center Bridging eXchange)",
        "synopsis": "dcb [ OPTIONS ] dcbx { COMMAND | help }\ndcb dcbx show dev DEV\ndcb dcbx set dev DEV [ host ] [ lld-managed ] [ cee ] [ ieee ] [ static ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "dcb",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/dcb/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "PARAMETERS",
                "lines": 5,
                "subsections": [
                    {
                        "name": "host",
                        "lines": 1
                    },
                    {
                        "name": "lld-managed",
                        "lines": 5
                    },
                    {
                        "name": "cee",
                        "lines": 9
                    },
                    {
                        "name": "EXAMPLE & USAGE",
                        "lines": 13
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}