show cos port-resource
10-26 Policy Classification Configuration
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
CoSportresourcesarewhereactualphysicalratelimitersareconfigured.Resourcesmapdirectly
tothenumberofratelimiterssupportedbytheporttype.(Porttype0supports100IRLresources.)
Resourcesexistforeachportgroupandareindexedasgroup#.port‐type.irl‐index.Portresources
arenotinitially
configuredasratelimiting.
Inboundratelimiting,orratepolicing,simplydropsorclipstrafficinboundifaconfiguredrateis
exceeded.CoSinboundratelimitingallowstheusertoconfigureratelimitsbasedonkilobitsper
second.
Theshowcosport‐resourcecommanddisplaystheresourcesavailableforeachport
group.By
default,noIRLresourcesareconfigured.ThedefaultRateLimitingalgorithmisdropandcannot
beconfiguredotherwise.
Example
Thisexamplesetstheinboundratelimitresourceindexnumber1forportgroup2.0to10000Kbps
or1MB:
B3(su)->set cos port-resource irl 2.0 1 unit kbps rate 10000 type drop
show cos port-resource
UsethiscommandtodisplaytheIRLportresources.
Syntax
show cos port-resource [irl [group-type-index [irl-index]]]
Parameters
kbps Kilobitspersecond.
raterate Datarateforthisinboundratelimiter.Thisistheactualratelimit.Valid
valuesrangefrom512to1,000,000KbpsforaGigabitport.
typedrop Actionfortheratelimiter.Theonlyactionoptionisdroptheframeifall
limitersareexceeded.
irl (Optional)Specifiesthatinboundratelimitingportresourcesshouldbe
displayed.
group‐type‐index (Optional)Specifiesaninboundratelimitingportgroup/typeindex.Valid
entriesareintheformofgroup#.port‐type.
Validvaluesforgroup#canrangefrom0to7.Validvaluesforport‐type
canrangefrom0
to1,althoughonlyporttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.
irl‐index (Optional)Inboundratelimiterresourceindexconfiguredforthe
specifiedportgroup.Validvaluesrangefrom0to99.