# DEVLINK-LC - devlink line card configuration - man(8) - [phpMan]

[_DEVLINK-LC_(8)](https://www.chedong.com/phpMan.php/man/DEVLINK-LC/8/markdown)                                   Linux                                  [_DEVLINK-LC_(8)](https://www.chedong.com/phpMan.php/man/DEVLINK-LC/8/markdown)

## NAME
       devlink-lc - devlink line card configuration

## SYNOPSIS
       **devlink **[ _OPTIONS_ ] **lc  **{ _COMMAND_ | **help **}


       _OPTIONS_ := { **-V**[_ersion_] }

       **devlink lc set _**DEV_ **lc _**LC_INDEX_ [ **type **{ _LC_TYPE_ | **notype **} ]

       **devlink lc show **[ _DEV_ [ **lc _**LC_INDEX_ ] ]

### devlink lc help


## DESCRIPTION
### devlink lc set - change line card attributes
       _DEV_    Specifies the devlink device to operate on.

                  Format is:
                    BUS_NAME/BUS_ADDRESS


       **lc _**LC_INDEX_
              Specifies index of a line card slot to set.


       **type **{ _LC_TYPE_ | **notype **} Type of line card to provision. Each driver provides a list of sup‐
              ported line card types which is shown in the output of **devlink lc show **command.


### devlink lc show - display line card attributes
       _DEV_    Specifies  the  devlink device to operate on. If this and **lc **arguments are omitted all
              line cards of all devices are listed.


       **lc _**LC_INDEX_
              Specifies index of a line card slot to show.


## 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
       [**devlink**(8)](https://www.chedong.com/phpMan.php/man/devlink/8/markdown), [**devlink-dev**(8)](https://www.chedong.com/phpMan.php/man/devlink-dev/8/markdown), [**devlink-port**(8)](https://www.chedong.com/phpMan.php/man/devlink-port/8/markdown), [**devlink-monitor**(8)](https://www.chedong.com/phpMan.php/man/devlink-monitor/8/markdown),


## AUTHOR
       Jiri Pirko <<jiri@nvidia.com>>

iproute2                                     20 Apr 2022                               [_DEVLINK-LC_(8)](https://www.chedong.com/phpMan.php/man/DEVLINK-LC/8/markdown)
