Specifications

show cos reference
12-32 Policy Classification Configuration
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
Usage
TheCoSreferencetablemapstheuserdefinedIRLreferencesfoundinthe CoSsettingstable(see
setcossetting sonpage 1222)toratelimiterscreatedintheportresourcetable(seesetcos
portresourceirlonpage 1227).TheCoSreferencetableindexescanbethought
ofasvirtualrate
limiters.Thetableaccountsforthemaximumnumberofratelimiterssupportedbythedevice.
Thevirtuallimitersthenmaptothephysicalratelimiters.TheCoSIRLReferenceTableisnot
configuredbydefault.
TheCoSIRLreferencetableuses100indexesorvirtualratelimiters,
andmapseachvirtuallimiter
toaphysicallimiterorresource.AnIRLreferencetableexistsforeachportgroupconfigured,and
isindexedsimilarlytoportresources,asportgroup#,porttype,reference.IRLreferencesarenot
populatedwithlimiters(resources),butcanbeconfiguredbytheuser.The
IRLreferencetablecan
bedisplayedusingtheshowcosreferencecommand.
Example
IntheCoSIRLreferencemappingtableforportgroups1.0and2.0,createareferencefortheIRL
resourcenumber1createdforeachgroup.Thereferencenumber1isused.
B2(su)->set cos reference irl 1.0 1 rate-limit 1
B2(su)->set cos reference irl 2.0 1 rate-limit 1
show cos reference
UsethiscommandtoshowtheClassofServiceinboundratelimitingreferenceconfiguration.
Syntax
show cos reference [irl [group-type-index]]
irl SpecifiesthatanIRLreferenceisbeingconfigured.
grouptypeindex Specifiesaninboundratelimitingportgroup/typeindex.Validentriesare
intheformofgroup#.porttype.
Validvaluesforgroup#canrangefrom0to7.Validvaluesforporttype
canrangefrom0to1,althoughonly
porttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.
reference IRLreferencenumberassociatedwiththisentry.
ratelimitirlindex Ratelimiter(IRLresourceindex)tobindthisreferenceto.Validvalues
rangefrom0to99.