set cos port-resource
11-26 Policy Classification Configuration
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
Thedefaultportgroup0.0cannotbedeleted.
Example
ThisexampledeletesallPortGroupsexceptfortheDefaultgroup0.0:
D2(su)->clear cos port-config irl all
set cos port-resource
UsethiscommandtosettheinboundratelimitparametersforaspecificIRLresourceforaspecific
portgroup.
Syntax
set cos port-resource irl group-type-index irl-index {[unit {kbps}] [rate rate]
[type {drop}]}
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
irl SetanIRLportresource.
group‐type‐index Specifiesaninboundratelimitingportgroup/typeindex.Validentriesare
intheformofgroup#.port‐type.
Validvaluesforgroup#canrangefrom0to7. Validvaluesforport‐type
canrangefrom0to1,although
onlyporttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.
irl‐index Indexnumberoftheinboundratelimiterresourceassociatedwiththis
entry.Validvaluesrangefrom0to99.
unit Unitofmeasurefortheinboundratelimiter(onlyoptionisKbps).
kbps Kilobits
persecond.
raterate Datarateforthisinboundratelimiter.Thisistheactual rate limit.Valid
valuesrangefrom512to1,000,000KbpsforaGigabitport.
typedrop Actionfortheratelimiter.Theonlyactionoptionisdroptheframeifall
limitersareexceeded.