set cos port-resource
11-26 Policy Classification Configuration
Defaults
None.
Mode
Switchcommand,readwrite.
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,readwrite.
irl SetanIRLportresource.
grouptypeindex Specifiesaninboundratelimitingportgroup/typeindex.Validentriesare
intheformofgroup#.porttype.
Vali dvaluesforgroup#canrangefrom0to7.Va lid valuesforporttype
canrangefrom0to1,althoughonlyporttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.
irlindex Indexnumberoftheinboundratelimiterresourceassociatedwiththis
entry.Validval uesrangefrom0to99.
unit Unitofmeasurefortheinboundratelimiter(onlyoptionisKbps).
kbps Kilobitspersecond.
raterate Datarateforthisinboundratelimiter.Thisistheactualratelimit.Valid
valuesrangefrom512to1,000,000KbpsforaGigabitport.
typedrop Actionfortheratelimiter.Theonlyactionoptionisdroptheframeifall
limitersareexceeded.