set cos port-config
SecureStack B3 Configuration Guide 10-23
Parameters
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
areautomaticallyremovedfrom the
defaultportgroup—andmustbecomprisedofthesameporttypeasdefinedbytheportgroup.
Thecreationofadditionalportgroupscouldbeusedtocombinesimilarportsbytheirfunctionfor
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
theavailableinbound ratelimitingresources
fortheporttype.
Example
Thisexampleconfigurestwoportgroups,oneforuserportsandoneforuplinkportsandassign
portstothegroups.Portgroup1.0willrepresentuserports,group2.0willrepresentuplinkports.
B3(su)->set cos port-config irl 1.0 name Users ports ge.1.1-46
B3(su)->set cos port-config irl 2.0 name Uplink ports ge.1.47-48
irl Specifiesthatthisisan inboundratelimiting(IRL)portgroup.
group‐type‐index Specifiesaninboundratelimitingportgroup/typeindex.Validentries
areintheformofgroup#.port‐type.
Validvaluesforgroup#canrangefrom0to7.Validvaluesforport‐type
canrangefrom0to
1,althoughonlyporttype0iscurrentlysupported.
Forexample,portgroup3wouldbespecifiedas3.0.
namename (Optional)Userdefinednameforthegroup.
portsport‐list (Optional)Portsassignedtothegroup.Allportsmustbeofthesameport
type(FastEthernet,GigabitEthernet).
append
(Optional)Append(add)theportstotheportsthatarealreadyinthe
group.
clear (Optional)Clearthegivenportsfromthoseassignedtothegroup.