show cos port-config
11-24 Policy Classification Configuration
Defaults
None.
Mode
Switchcommand,readwrite.
Usage
CoSIRLportgroupsareidentifiedbygroupnumberandthetypeofportsinthegroup,inthe
formofgroup#.porttype.TheIRLportgroup0.0existsbydefault.Thisdefaultportgroupcannot
beremovedandallphysicalportsinthesystemareassignedtoit.Uptosevenadditionalport
groups(1through7)canbeconfigured.Currently,onlyoneporttype(type0)issupported.This
porttypesupports100limiters.
Additionalportgroupsmaybecreatedforflexibility.Portsassignedtoanewportgroupmustbe
mutuallyexclusivefromtheotherportgroupentries—portsareautomaticallyremovedfromthe
defaultportgroup—andmustbecomprisedofthesameporttypeasdefinedbytheportgroup.
Thecreationofadditionalportgroupscouldbeusedtocombinesimilarportsbytheirfunctionfor
flexibility.Forinstance,portsassociatedtouserscanbeaddedtoaportgroupcalled“Users”and
portsassociatedtouplinkportscanbeaddedtoaportgroupcalled“Uplink.”Usingtheseport
groups,asingleclassofservicecanassigndifferentratelimitstoeachportgroup.“User”ports
canbeassignedoneratelimit,while“Uplink”portscanbeassignedanother.DFEsupportsa
maximumof8portgroupsperCoSfunction(IRL).
ThecommandshowcosportconfigdisplayseachIRLportgroupconfiguredbygroupandtype,
withthegroupnameandassociated(assigned)ports.Thecommandshowcosporttypedisplays
theavailableinboundratelimitingresourcesfortheporttype.
Example
Thisexampleconfigurestwoportgroups,oneforuserportsandoneforuplinkportsandassign
portstothegroups.Portgroup1.0willrepresentuserports,group2.0willrepresentuplinkports.
D2(su)->set cos port-config irl 1.0 name Users ports fe.1.1-46
D2(su)->set cos port-config irl 2.0 name Uplink ports fe.1.47-48
show cos port-config
Usethiscommandtoshowinboundratelimitinggroupsandtheassignedports.
Syntax
show cos port-config [irl group-type-index]
Parameters
irl (Optional)Specifiesthatinboundratelimitingconfigurationinformation
shouldbedisplayed.
grouptypeindex (Optional)Showassignedportsforaspecificportgroup.Validentriesare
intheformofgroup#.porttype.
Vali dvaluesforgroup#canrangefrom0to7.Va lid valuesforporttype
canrangefrom0to1,althoughonlyporttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.