show cos port-config
11-24 Policy Classification Configuration
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
CoSIRLportgroupsareidentifiedbygroupnumberandthetypeofportsinthegroup,inthe
formofgroup#.port‐type. TheIRLportgroup0.0existsbydefault.Thisdefaultportgroupcannot
beremovedandallphysicalportsinthesystemareassignedtoit.Up
tosevenadditionalport
groups(1through7)canbeconfigured.Currently,onlyoneporttype(type0)issupported.This
porttypesupports100limiters.
Additionalportgroupsmaybecreatedforflexibility.Portsassignedtoanewportgroupmustbe
mutuallyexclusivefromtheotherportgroupentries—ports
areautomaticallyremovedfromthe
defaultportgroup—andmustbecomprisedofthesameporttypeasdefinedbytheportgroup.
Thecreationofadditionalportgroupscouldbeusedtocombinesimilarportsbythei rfunctionfor
flexibility.Forinstance,portsassociatedtouserscanbeaddedtoa
portgroupcalled“Users”and
portsassociatedtouplinkportscanbeaddedtoaportgroupcalled“Uplink.”Usingtheseport
groups,asingleclassofservicecanassigndifferentratelimitstoeachportgroup.“User”ports
canbeassignedoneratelimit,while“Uplink”portscanbeassigned
another.DFEsupportsa
maximumof8portgroupsperCoSfunction(IRL).
Thecommandshowcosport‐configdisplayseachIRLportgroupconfiguredbygroupandtype,
withthegroupnameandassociated(assigned)ports.Thecommandshowcosport‐typedisplays
theavailableinboundratelimitingresources
fortheporttype.
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.
group‐type‐index (Optional)Showassignedportsforaspecificportgroup.Validentriesare
intheformofgroup#.port‐type.
Validvaluesforgroup#canrangefrom0to7. Validvaluesforport‐type
canrangefrom0
to1,althoughonlyporttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.
Kommentare zu diesen Handbüchern