{
    "mode": "man",
    "parameter": "DEVLINK-LC",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/DEVLINK-LC/8/json",
    "generated": "2026-10-05T18:05:48Z",
    "synopsis": "devlink [ OPTIONS ] lc  { COMMAND | help }\nOPTIONS := { -V[ersion] }\ndevlink lc set DEV lc LCINDEX [ type { LCTYPE | notype } ]\ndevlink lc show [ DEV [ lc LCINDEX ] ]",
    "sections": {
        "NAME": {
            "content": "devlink-lc - devlink line card configuration\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "devlink [ OPTIONS ] lc  { COMMAND | help }\n\n\nOPTIONS := { -V[ersion] }\n\ndevlink lc set DEV lc LCINDEX [ type { LCTYPE | notype } ]\n\ndevlink lc show [ DEV [ lc LCINDEX ] ]\n",
            "subsections": [
                {
                    "name": "devlink lc help",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "",
            "subsections": [
                {
                    "name": "devlink lc set - change line card attributes",
                    "content": "DEV    Specifies the devlink device to operate on.\n\nFormat is:\nBUSNAME/BUSADDRESS\n\n\nlc LCINDEX\nSpecifies index of a line card slot to set.\n\n\ntype { LCTYPE | notype } Type of line card to provision. Each driver provides a list of sup‐\nported line card types which is shown in the output of devlink lc show command.\n\n"
                },
                {
                    "name": "devlink lc show - display line card attributes",
                    "content": "DEV    Specifies  the  devlink device to operate on. If this and lc arguments are omitted all\nline cards of all devices are listed.\n\n\nlc LCINDEX\nSpecifies index of a line card slot to show.\n\n"
                }
            ]
        },
        "EXAMPLES": {
            "content": "devlink lc show\nShows the state of all line cards on the system.\n\ndevlink lc show pci/0000:01:00.0 lc 1\nShows the state of line card with index 1.\n\ndevlink lc set pci/0000:01:00.0 lc 1 type 16x100G\nSets type of specified line card to type 16x100G.\n\ndevlink lc set pci/0000:01:00.0 lc 1 notype\nClears provisioning on a line card.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "devlink(8), devlink-dev(8), devlink-port(8), devlink-monitor(8),\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Jiri Pirko <jiri@nvidia.com>\n\niproute2                                     20 Apr 2022                               DEVLINK-LC(8)",
            "subsections": []
        }
    },
    "summary": "devlink-lc - devlink line card configuration",
    "flags": [],
    "examples": [
        "devlink lc show",
        "Shows the state of all line cards on the system.",
        "devlink lc show pci/0000:01:00.0 lc 1",
        "Shows the state of line card with index 1.",
        "devlink lc set pci/0000:01:00.0 lc 1 type 16x100G",
        "Sets type of specified line card to type 16x100G.",
        "devlink lc set pci/0000:01:00.0 lc 1 notype",
        "Clears provisioning on a line card."
    ],
    "see_also": [
        {
            "name": "devlink",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/devlink/8/json"
        },
        {
            "name": "devlink-dev",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/devlink-dev/8/json"
        },
        {
            "name": "devlink-port",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/devlink-port/8/json"
        },
        {
            "name": "devlink-monitor",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/devlink-monitor/8/json"
        }
    ]
}