set cos reference
10-28 Policy Classification Configuration
Example
Thisexampleclearsthedatarateto0forIRLresourceindex1forgroup2.0.
B3(su)->clear cos port-resource irl 2.0 1 rate
set cos reference
UsethiscommandtosettheClassofServiceinboundratelimitingreferenceconfiguration.
Syntax
set cos reference irl group-type-index reference rate-limit irl-index
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
TheCoSreferencetablemapstheuser‐definedIRLreferencesfoundintheCoSsettingstable(see
“setcossettings”onpage 10‐20)toratelimiterscreatedintheportresourcetable(see“setcos
port‐resource”onpage 10‐25).TheCoSreferencetableindexescanbethoughtof
asvirtualrate
limiters.Thetableaccountsforthemaximumnumberofratelimiterssupportedbythedevice.
Thevirtuallimitersthenmaptothephysicalratelimiters.TheCoSIRLReferenceTableisnot
configuredbydefault.
TheCoSIRLreferencetableuses100indexesorvirtualratelimiters,and
mapseachvirtuallimiter
toaphysicallimiterorresource.AnIRLreferencetableexistsforeachportgroupconfigured,and
isindexedsimilarlytoportresources,asportgroup#,port‐type,reference.IRLreferencesarenot
populatedwithlimiters(resources),butcanbeconfiguredbytheuser.TheIRL
referencetablecan
bedisplayedusingtheshowcosreferencecommand.
Example
IntheCoSIRLreferencemappingtableforportgroups1.0and2.0,createareferencefortheIRL
resourcenumber1createdforeachgroup.Thereferencenumber1isused.
B3(su)->set cos reference irl 1.0 1 rate-limit 1
B3(su)->set cos reference irl 2.0 1 rate-limit 1
irl SpecifiesthatanIRLreferenceisbeingconfigured.
group‐type‐index Specifiesaninboundratelimitingportgroup/typeindex.Validentriesare
intheformofgroup#.port‐type.
Validvaluesforgroup#canrangefrom0to7.Validvaluesforport‐type
canrangefrom0to1,althoughonly
porttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.
reference IRLreferencenumberassociatedwiththisentry.
rate‐limitirl‐index Ratelimiter(IRLresourceindex)tobindthisreferenceto.Validvalues
rangefrom0to99.