Specifications
CoS Hardware Resource Configuration
May 09, 2011 Page 20 of 38
•MapstheIRLreferencetotheCoSsetting(802.1priority)
•EnablesCoS
•Providesrelatedshowcommanddisplays
CoS Port Configuration Layer
FortheCoSportconfiguration layer,usethesetcosport‐configirlcommandtoassignportsto
portgroup1.0fortheIRLconfiguration:
System(su)->set cos port-config irl 1.0 ports ge.1.3,5,22
CoS Port Resource Layer
FortheCoSportresourcelayer,usethesetcosport‐resourceirlcommandtosetthe
packets‐per‐secondrateto10,000packetsandenableSyslogforthisIRLportgroup1.0mappedto
IRLresource0:
System(su)->set cos port-resource irl 1.0 0 unit pps rate 10000 syslog enable
CoS Reference Layer
FortheCoSreferencelayer,usingthesetcosreferenceirlcommand,mapIRLreference0to
rate‐limit0forportgroup1.0:
System(su)->set cos reference irl 1.0 0 rate-limit 0
CoS Settings Layer
FortheCoSsettingslayer,usingthecossettingscommand,mapIRLreference0toCoSsettings1
(802.1priority1):
System(su)->set cos settings 1 irl-reference 0
Enable CoS State
CoSconfigurationmustbeenabledtobecomeactive,usingthesetcosstateenablecommand:
System(su)->set cos state enable
IRL Configuration Example Show Command Output
UsetheshowcossettingscommandtodisplaytheIRLresourcereferencetoTxQ,topriority,to
CoSindexmapping:
System(su)->show cos settings
* Means attribute has not been configured
CoS Index Priority ToS TxQ IRL ORL Drop Prec Flood-Ctrl
--------- ---------- ------- ----- ----- ----- --------- ----------
0 0 * 0 * * * Disabled
1 1 * 2 0 * * Disabled
2 2 * 4 * * * Disabled
3 3 * 6 * * * Disabled