show cos port-resource
9-26 Policy Classification Configuration
Theshowcosport‐resourcecommanddisplaystheresourcesavailableforeachportgroup.By
default,noIRLresourcesareconfigured.ThedefaultRateLimitingalgorithmisdropandcannot
beconfiguredotherwise.
Example
Thisexamplesetstheinboundratelimitresourceindexnumber1forportgroup2.0to10000Kbps
or1MB:
C2(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
Defaults
IfaportgroupandIRLindexarenotspecified,theIRLconfigurationforallresources(0‐99)forall
configuredportgroupswillbeshown.
Mode
Switchcommand,read‐only.
Example
ThisexampledisplaystheIRLresourceindexnumber1configurationforgroup2.0.
C2(su)->show cos port-resource irl 2.0 1
'?' after the rate value indicates an invalid rate value
Group Index Resource Type Unit Rate Rate Limit Type Action
----------- -------- ---- ---- ---------- --------------- ------
2.0 1 irl kbps 10000 drop none
clear cos port-resource
UsethiscommandtosettheinboundratelimitinKbps.
irl (Optional)Specifiesthatinboundratelimitingportresourcesshouldbe
displayed.
group‐type‐index (Optional)Specifiesaninboundratelimitingportgroup/typeindex.Valid
entriesareintheformofgroup#.port‐type.
Validvaluesforgroup#canrangefrom0
to7.Validvaluesforport‐type
canrangefrom0to1,althoughonlyporttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.
irl‐index (Optional)Inboundratelimiterresourceindexconfiguredforthe
specifiedportgroup.Validvaluesrangefrom0to
99.