{
    "mode": "man",
    "parameter": "dcb",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/dcb/8/json",
    "generated": "2026-06-02T20:22:17Z",
    "synopsis": "dcb [ OPTIONS ] { app | buffer | ets | maxrate | pfc } { COMMAND | help }\ndcb [ -force ] -batch filename\ndcb [ OPTIONS ] help",
    "sections": {
        "NAME": {
            "content": "dcb - show / manipulate DCB (Data Center Bridging) settings\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "dcb [ OPTIONS ] { app | buffer | ets | maxrate | pfc } { COMMAND | help }\n\n\ndcb [ -force ] -batch filename\n\n\ndcb [ OPTIONS ] help\n\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-n --netns",
                    "content": "switches dcb to the specified network namespace NETNS.\n\n",
                    "flag": "-n",
                    "long": "--netns"
                },
                {
                    "name": "-V --Version",
                    "content": "Print the version of the dcb utility and exit.\n\n",
                    "flag": "-V",
                    "long": "--Version"
                },
                {
                    "name": "-b --batch",
                    "content": "Read commands from provided file or standard input and invoke them. First failure will\ncause termination of dcb.\n\n",
                    "flag": "-b",
                    "long": "--batch"
                },
                {
                    "name": "-f --force",
                    "content": "Don't terminate dcb on errors in batch mode. If there were any errors during execution\nof the commands, the application return code will be non zero.\n\n",
                    "flag": "-f",
                    "long": "--force"
                },
                {
                    "name": "-i --iec",
                    "content": "When showing rates, use ISO/IEC 1024-based prefixes (Ki, Mi, Bi) instead of the\n1000-based ones (K, M, B).\n\n",
                    "flag": "-i",
                    "long": "--iec"
                },
                {
                    "name": "-j --json",
                    "content": "Generate JSON output.\n\n",
                    "flag": "-j",
                    "long": "--json"
                },
                {
                    "name": "-N --Numeric",
                    "content": "If the subtool in question translates numbers to symbolic names in some way, suppress\nthis translation.\n\n",
                    "flag": "-N",
                    "long": "--Numeric"
                },
                {
                    "name": "-p --pretty",
                    "content": "When combined with -j generate a pretty JSON output.\n\n",
                    "flag": "-p",
                    "long": "--pretty"
                },
                {
                    "name": "-s --statistics",
                    "content": "If the object in question contains any statistical counters, shown them as part of the\n\"show\" output.\n\n",
                    "flag": "-s",
                    "long": "--statistics"
                }
            ]
        },
        "OBJECTS": {
            "content": "app    - Configuration of application priority table\n\n\nbuffer - Configuration of port buffers\n\n\nets    - Configuration of ETS (Enhanced Transmission Selection)\n\n",
            "subsections": [
                {
                    "name": "maxrate",
                    "content": "- Configuration of per-TC maximum transmit rate\n\n\npfc    - Configuration of PFC (Priority-based Flow Control)\n\n"
                }
            ]
        },
        "COMMANDS": {
            "content": "A COMMAND specifies the action to perform on the object. The set of possible actions depends\non the object type. As a rule, it is possible to show objects and to invoke topical help,\nwhich prints a list of available commands and argument syntax conventions.\n\n",
            "subsections": []
        },
        "ARRAY PARAMETERS": {
            "content": "Like commands, specification of parameters is in the domain of individual objects (and their\ncommands) as well. However, much of the DCB interface revolves around arrays of fixed size\nthat specify one value per some key, such as per traffic class or per priority. There is\ntherefore a single syntax for adjusting elements of these arrays. It consists of a series of\nKEY:VALUE pairs, where the meaning of the individual keys and values depends on the parame‐\nter.\n\nThe elements are evaluated in order from left to right, and the latter ones override the ear‐\nlier ones. The elements that are not specified on the command line are queried from the ker‐\nnel and their current value is retained.\n\nAs an example, take a made-up parameter tc-juju, which can be set to charm traffic in a given\nTC with either good luck or bad luck. KEY can therefore be 0..7 (as is usual for TC numbers\nin DCB), and VALUE either of none, good, and bad. An example of changing a juju value of TCs\n0 and 7, while leaving all other intact, would then be:\n\n\n# dcb foo set dev eth0 tc-juju 0:good 7:bad\n\nA special key, all, is recognized which sets the same value to all array elements. This can\nbe combined with the usual single-element syntax. E.g. in the following, the juju of all keys\nis set to none, except 0 and 7, which have other values:\n\n\n# dcb foo set dev eth0 tc-juju all:none 0:good 7:bad\n\n",
            "subsections": []
        },
        "EXIT STATUS": {
            "content": "Exit status is 0 if command was successful or a positive integer upon failure.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "dcb-app(8), dcb-buffer(8), dcb-ets(8), dcb-maxrate(8), dcb-pfc(8)\n\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "Report 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",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Petr Machata <me@pmachata.org>\n\n\n\niproute2                                   19 October 2020                                    DCB(8)",
            "subsections": []
        }
    },
    "summary": "dcb - show / manipulate DCB (Data Center Bridging) settings",
    "flags": [
        {
            "flag": "-n",
            "long": "--netns",
            "arg": null,
            "description": "switches dcb to the specified network namespace NETNS."
        },
        {
            "flag": "-V",
            "long": "--Version",
            "arg": null,
            "description": "Print the version of the dcb utility and exit."
        },
        {
            "flag": "-b",
            "long": "--batch",
            "arg": null,
            "description": "Read commands from provided file or standard input and invoke them. First failure will cause termination of dcb."
        },
        {
            "flag": "-f",
            "long": "--force",
            "arg": null,
            "description": "Don't terminate dcb on errors in batch mode. If there were any errors during execution of the commands, the application return code will be non zero."
        },
        {
            "flag": "-i",
            "long": "--iec",
            "arg": null,
            "description": "When showing rates, use ISO/IEC 1024-based prefixes (Ki, Mi, Bi) instead of the 1000-based ones (K, M, B)."
        },
        {
            "flag": "-j",
            "long": "--json",
            "arg": null,
            "description": "Generate JSON output."
        },
        {
            "flag": "-N",
            "long": "--Numeric",
            "arg": null,
            "description": "If the subtool in question translates numbers to symbolic names in some way, suppress this translation."
        },
        {
            "flag": "-p",
            "long": "--pretty",
            "arg": null,
            "description": "When combined with -j generate a pretty JSON output."
        },
        {
            "flag": "-s",
            "long": "--statistics",
            "arg": null,
            "description": "If the object in question contains any statistical counters, shown them as part of the \"show\" output."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "dcb-app",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/dcb-app/8/json"
        },
        {
            "name": "dcb-buffer",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/dcb-buffer/8/json"
        },
        {
            "name": "dcb-ets",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/dcb-ets/8/json"
        },
        {
            "name": "dcb-maxrate",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/dcb-maxrate/8/json"
        },
        {
            "name": "dcb-pfc",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/dcb-pfc/8/json"
        }
    ]
}