show cos port-config
D-Series CLI Reference 9-23
groups(1through7)canbeconfigured.Currently,onlyoneporttype(type0)issupported.This
porttypesupports100limiters.
Additionalportgroupsmaybecreatedforflexibility.Portsassignedtoanewportgroupmustbe
mutuallyexclusivefromtheotherportgroupentries—portsareautomaticallyremovedfrom
the
defaultportgroup—andmustbecomprisedofthesameporttypeasdefinedbytheportgroup.
Thecreationofadditionalportgroupscouldbeusedtocombinesimilarportsbythei rfunctionfor
flexibility.Forinstance,portsassociatedtouserscanbeaddedtoaportgroupcalled“Users”
and
portsassociatedtouplinkportscanbeaddedtoaportgroupcalled“Uplink.”Usingtheseport
groups,asingleclassofservicecanassigndifferentratelimitstoeachportgroup.“User”ports
canbeassignedoneratelimit,while“Uplink”portscanbeassignedanother.DFEsupportsa
maximumof8portgroupsperCoSfunction(IRL).
Thecommandshowcosport‐configdisplayseachIRLportgroupconfiguredbygroupandtype,
withthegroupnameandassociated(assigned)ports.Thecommandshowcosport‐typedisplays
theavailableinboundratelimitingresourcesfortheporttype.
Example
Thisexampleconfigurestwoportgroups,oneforuserportsandoneforuplinkportsandassign
portstothegroups.Portgroup1.0willrepresentuserports,group2.0willrepresentuplinkports.
D2(su)->set cos port-config irl 1.0 name Users ports ge.1.1-46
D2(su)->set cos port-config irl 2.0 name Uplink ports ge.1.47-48
show cos port-config
Usethiscommandtoshowinboundratelimitinggroupsandtheassignedports.
Syntax
show cos port-config [irl group-type-index]
Parameters
Defaults
Theshowcosport‐configcommandbyitselfwillshowallPortGroups.
Mode
Switchcommand,read‐only.
Example
Thisexampleshowsallinboundratelimitingportgroups.Notethatportsge.1.1throughge.1.48
wereremovedfromthedefaultportgroup0.0whentheywereaddedtoportgroups1.0and2.0.
D2(su)->show cos port-config
irl (Optional)Specifiesthatinboundratelimitingconfigurationinformation
shouldbedisplayed.
group‐type‐index (Optional)Showassignedportsforaspecificportgroup.Validentriesare
intheformofgroup#.port‐type.
Validvaluesforgroup#canrangefrom0to7.Validvaluesforport‐type
canrangefrom0
to1,althoughonlyporttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.