from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209612

userrating:


May 25th. 2007:
Words

486

Views

258612

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149912

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





DC-MAXRATE

Section: Linux (8)
Updated: 22 November 2020
Index Return to Main Contents
 

NAME

dc-maxrate - show / manipulate port maxrate settings of the DCB (Data Center Bridging) subsystem  

SYNOPSIS


dcb [ OPTIONS ] maxrate { COMMAND | help }


dcb maxrate show dev DEV [ t-maxrate ]


dcb maxrate set dev DEV [ t-maxrate RAT-MAP ]


RAT-MAP := [ RAT-MAP ] RAT-MAPPING


RAT-MAPPING := { TC | all }:RATE


TC := { 0 .. 7 }


RATE := { INTEGER[bit] | INTEGERKbit | INTEGERMib | ... }

 

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.

t-maxrate RAT-MAP
RAT-MAP uses the array parameter syntax, see dcb(8) for details. Keys are TC indices, values are traffic rates in bits per second. The rates can use the notation documented in section PARAMETERS at tc(8). 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 t-maxrate all:25Gbit 6:100Gbit

Show what was set:

# dcb maxrate show dev eth0
t-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)

 

REPORTING BUGS

Report any bugs to the Network Developers mailing list <netdev@vger.kernel.org> where the development 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>


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
EXAMPLE & USAGE
EXIT STATUS
SEE ALSO
REPORTING BUGS
AUTHOR





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 16.7 ms