Specifications
CoS Hardware Resource Configuration
May 09, 2011 Page 15 of 38
CoS Settings Configuration Layer
ThefinalstepistoassigntheCoSindexestotheTxQreferences.Inthisexample,CoSIndex0
(802.1priority0)willbeourbestefforttraffic,COSIndex7(802.1priority7)willbeassignedto
ourcriticalqueue.AllotherprioritieswillmaptotheWFQs.
System(su)->set cos settings 0 txq-reference 1
System(su)->set cos settings 2 txq-reference 3
System(su)->set cos settings 3 txq-reference 4
System(su)->set cos settings 4 txq-reference 5
System(su)->set cos settings 5 txq-reference 6
System(su)->set cos settings 6 txq-reference 7
System(su)->set cos settings 7 txq-reference 8
Enable CoS State
CoSconfigurationmustbeenabledtobecomeactive,usingthesetcosstateenablecommand:
System(su)->set cos state enable
TxQ Configuration Example Show Command Output
UsetheshowcossettingscommandtodisplayCoSsettingslayerconfiguration:
System(su)->show cos settings
* Means attribute has not been configured
CoS Index Priority ToS TxQ IRL ORL Drop Prec Flood-Ctrl
--------- ---------- ------- ----- ----- ----- --------- ----------
0 0 * 1 * * * Disabled
1 1 * 2 * * * Disabled
2 2 * 3 * * * Disabled
3 3 * 4 * * * Disabled
4 4 * 5 * * * Disabled
5 5 * 6 * * * Disabled
6 6 * 7 * * * Disabled
7 7 * 8 * * * Disabled
UsetheshowcosreferencetxqcommandtodisplaytheCoSreferenceconfigurationforport
group1.0:
System(su)->show cos reference txq 1.0
Group Index Reference Type Queue
----------- --------- ---- ------------
1.0 0 txq 0
1.0 1 txq 0
1.0 2 txq 2
1.0 3 txq 3