{"id":3791,"date":"2022-12-20T17:20:05","date_gmt":"2022-12-20T20:20:05","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/dcb-maxrate-man8\/"},"modified":"2022-12-20T17:20:05","modified_gmt":"2022-12-20T20:20:05","slug":"dcb-maxrate-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/dcb-maxrate-man8\/","title":{"rendered":"DCB-MAXRATE (man8)"},"content":{"rendered":"<h1 align=\"center\">DCB-MAXRATE<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#PARAMETERS\">PARAMETERS<\/a><br \/> <a href=\"#EXAMPLE &#038; USAGE\">EXAMPLE &#038; USAGE<\/a><br \/> <a href=\"#EXIT STATUS\">EXIT STATUS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#REPORTING BUGS\">REPORTING BUGS<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">dcb-maxrate \u2212 show \/ manipulate port maxrate settings of the DCB (Data Center Bridging) subsystem<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>dcb<\/b> [ <i>OPTIONS<\/i> ] <b>maxrate<\/b> { <i>COMMAND<\/i> | <i>help<\/i> }<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>dcb maxrate show dev<\/b> DEV [ <b>tc-maxrate<\/b> ]<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>dcb maxrate set dev<\/b> DEV [ <b>tc-maxrate<\/b> <i>RATE-MAP<\/i> ]<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>RATE-MAP<\/i> := [ <i>RATE-MAP<\/i> ] <i>RATE-MAPPING<\/i><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>RATE-MAPPING<\/i> := { <i>TC<\/i> | <b>all<\/b> }<b>:<\/b><i>RATE<\/i><\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>TC<\/i> := { <b>0<\/b> .. <b>7<\/b> }<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>RATE<\/i> := { <i>INTEGER<\/i>[<b>bit<\/b>] | <i>INTEGER<\/i><b>Kbit<\/b> | <i>INTEGER<\/i><b>Mib<\/b> | <i>&#8230;<\/i> }<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dcb maxrate<\/b> is used to configure and inspect maximum rate at which traffic is allowed to egress from a given traffic class.<\/p>\n<h2>PARAMETERS <a name=\"PARAMETERS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following describes only the write direction, i.e. as used with the <b>set<\/b> command. For the <b>show<\/b> 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. <b><br \/> tc-maxrate<\/b> <i>RATE-MAP<\/i><\/p>\n<p style=\"margin-left:22%;\"><i>RATE-MAP<\/i> uses the array parameter syntax, see <b>dcb<\/b>(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 <b>tc<\/b>(8). Note that under that notation, &#8220;bit&#8221; stands for bits per second whereas &#8220;b&#8221; stands for bytes per second. When showing, the command line option <b>-i<\/b> toggles between using decadic and ISO\/IEC prefixes.<\/p>\n<h2>EXAMPLE &#038; USAGE <a name=\"EXAMPLE &#038; USAGE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Set rates of all traffic classes to 25Gbps, except for TC 6, which will have the rate of 100Gbps:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"># dcb maxrate set dev eth0 tc-maxrate all:25Gbit 6:100Gbit<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Show what was set:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"># dcb maxrate show dev eth0 <br \/> tc-maxrate 0:25Gbit 1:25Gbit 2:25Gbit 3:25Gbit 4:25Gbit 5:25Gbit 6:100Gbit 7:25Gbit<\/p>\n<h2>EXIT STATUS <a name=\"EXIT STATUS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Exit status is 0 if command was successful or a positive integer upon failure.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dcb<\/b>(8)<\/p>\n<h2>REPORTING BUGS <a name=\"REPORTING BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Report any bugs to the Network Developers mailing list <b><netdev@vger.kernel.org><\/b> where the development and maintenance is primarily done. You do not have to be subscribed to the list to send a message there.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Petr Machata <me@pmachata.org><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  dcb-maxrate \u2212 show \/ manipulate port maxrate settings of the DCB (Data Center Bridging) subsystem <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,890,4],"class_list":["post-3791","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-dcb-maxrate","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3791"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3791\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}