# dcb-maxrate(8) - man - phpman

[DCB-MAXRATE(8)](https://www.chedong.com/phpMan.php/man/DCB-MAXRATE/8/markdown)                                  Linux                                 [DCB-MAXRATE(8)](https://www.chedong.com/phpMan.php/man/DCB-MAXRATE/8/markdown)



## NAME
       dcb-maxrate  - show / manipulate port maxrate settings of the DCB (Data Center Bridging) sub‐
       system

## SYNOPSIS
       **dcb** [ _OPTIONS_ ] **maxrate** { _COMMAND_ | _help_ }


       **dcb** **maxrate** **show** **dev** DEV [ **tc-maxrate** ]

       **dcb** **maxrate** **set** **dev** DEV [ **tc-maxrate** _RATE-MAP_ ]

       _RATE-MAP_ := [ _RATE-MAP_ ] _RATE-MAPPING_

       _RATE-MAPPING_ := { _TC_ | **all** }**:**_RATE_

       _TC_ := { **0** .. **7** }

       _RATE_ := { _INTEGER_[**bit**] | _INTEGER_**Kbit** | _INTEGER_**Mib** | _..._ }


## DESCRIPTION
       **dcb** **maxrate** is used to configure and inspect maximum rate at which traffic is allowed to
       egress from a given traffic class.


## PARAMETERS
       The following describes only the write direction, i.e. as used with the **set** command. For the
       **show** command, the parameter name is to be used as a simple keyword without further arguments.
       This instructs the tool to show the value of a given parameter. When no parameters are given,
       the tool shows the complete maxrate configuration.


       **tc-maxrate** _RATE-MAP_
              _RATE-MAP_ uses the array parameter syntax, see [**dcb**(8)](https://www.chedong.com/phpMan.php/man/dcb/8/markdown) for details. Keys are TC indices,
              values are traffic rates in bits per second.  The rates can use the notation docu‐
              mented in section PARAMETERS at [**tc**(8)](https://www.chedong.com/phpMan.php/man/tc/8/markdown).  Note that under that notation, "bit" stands
              for bits per second whereas "b" stands for bytes per second. When showing, the command
              line option **-i** toggles between using decadic and ISO/IEC prefixes.


### EXAMPLE & USAGE
       Set rates of all traffic classes to 25Gbps, except for TC 6, which will have the rate of
       100Gbps:


       # dcb maxrate set dev eth0 tc-maxrate all:25Gbit 6:100Gbit

       Show what was set:


       # dcb maxrate show dev eth0
       tc-maxrate 0:25Gbit 1:25Gbit 2:25Gbit 3:25Gbit 4:25Gbit 5:25Gbit 6:100Gbit 7:25Gbit


## EXIT STATUS
       Exit status is 0 if command was successful or a positive integer upon failure.


## SEE ALSO
       [**dcb**(8)](https://www.chedong.com/phpMan.php/man/dcb/8/markdown)


## REPORTING BUGS
       Report any bugs to the Network Developers mailing list **<<netdev@vger.kernel.org>>** where the de‐
       velopment and maintenance is primarily done.  You do not have to be subscribed to the list to
       send a message there.


## AUTHOR
       Petr Machata <<me@pmachata.org>>



iproute2                                  22 November 2020                            [DCB-MAXRATE(8)](https://www.chedong.com/phpMan.php/man/DCB-MAXRATE/8/markdown)
