Specifications
CoS Hardware Resource Configuration
May 09, 2011 Page 27 of 38
Usetheshowcosport‐configflood‐ctrlcommandtodisplaytheportgroupnameandassigned
portsforportgroup1.0.
System(su)->show cos port-config flood-ctrl 1.0
Flood Rate Limiting Port Configuration Entries
----------------------------------------------------------------------
Port Group Name :S-Series Flood Ctrl
Port Group :1
Port Type :0
Assigned Ports :ge.1.3
----------------------------------------------------------------------
System(su)->
Enabling CoS State
CoSstateisaglobalsettingthatmustbeenabledforCoSconfigurationstobeappliedtoaport.
WhenCoSstateisenabled,controlsconfiguredforCoSsupersedeportlevelcontrolsforpriority
queuemapping,IRL,andTxQ.TheseportlevelsettingscanbeconfiguredindependentofCoS
state,but
willhavenoaffectwhileCoSisenabled.DisablingCoSresultsintherestorationof
currentportlevelsettings.
UsethesetcosstateenablecommandtoenableCoSstategloballyforthissystem.
UsethesetcosstatedisablecommandtodisableCoSstategloballyforthissystem.
Usetheshow
cosstatecommandtodisplaythecurrentstatusofCoSstate.
Displaying CoS Violations
CoSviolationscanbedisplayedperphysicalratelimitforIRL,ORL,andfloodcontroltoshow
youwhenaratelimithasbeenviolated.Usetheshowcosviolation commandtodisplayports
thathavealimiterviolatedaswellasanyportsthatmaybedisabledbythelimiter.
Thefollowingexampledisplaysdefaultvaluesfortheshowcosviolationirlcommandoutputon
anS‐Seriesdevice:
System(su)->show cos violation irl ge.1.1:*
Rate-Limiter Rate-Limiter Rate-Limiter
Port Index Type Status Counter
------------ ------------ ---- ------------ --------------------
ge.1.1 0 irl not-violated 0
ge.1.1 1 irl not-violated 0
ge.1.1 2 irl not-violated 0
ge.1.1 3 irl not-violated 0
ge.1.1 4 irl not-violated 0
ge.1.1 5 irl not-violated 0
ge.1.1 6 irl not-violated 0
ge.1.1 7 irl not-violated 0
ge.1.1 8 irl not-violated 0
ge.1.1 9 irl not-violated 0
ge.1.1 10 irl not-violated 0
...