Configuring Policy Class of Service (CoS)
Enterasys G-Series CLI Reference 8-15
Configuring Policy Class of Service (CoS)
TheG‐SeriessupportsClassof Service(CoS),whichallowsyoutoassignmission‐criticaldatatoa
higherprioritythroughthedevicebydelayinglesscriticaltrafficduringperiodsofcongestion.
Thehigherprioritytrafficgoingthroughthedeviceisservicedfirst(beforelowerprioritytraffic).
TheClassofService
capabilityofthedeviceisimplementedbyapriorityqueueingmechanism.
ClassofServiceisbasedontheIEEE802.1D(802.1p)standardspecification,andallowsyouto
defineeightpriorities(0‐7,with7grantedhighestpriority)andupto8transmitqueues(0‐7)for
eachport.
Bydefault,policy
‐basedCoSisdisabledonthedevice,anddefaultoruser‐assignedport‐based
802.1D(802.1p)settingsareusedtodeterminetrafficratelimiting.Whenpolicy‐basedCoSis
enabled,thedefaultanduser‐assignedpolicy‐basedsettingswilloverrideport‐basedsettings
describedinChapter 9.
About Policy-Based CoS Configurations
Onceenabledusingthesetcosstatecommandasdescribedin“setcosstate”onpage 8‐17,you
canaddtothepolicy‐basedCoSfunctionbydefiningnewportgroupings,andassigninginbound
ratelimiters.Theprocessforuser‐definedCoSconfigurationinvolvesthefollowingstepsand
associatedcommands
listedinProcedure 8‐1.Anexamplefollowstheprocedure.
Example
Thisexamplecreatesdifferentinboundratelimitersfortwoportgroupsandthenassignsthemto
trafficwithaCoSsettingof0.
1. Configuretwoportgroups,oneforuserportsandoneforuplinkportsandassignportstothe
groups.Portgroup1.0willrepresentuserports,group2.0
willrepresentuplinkports.
G3(su)->set cos port-config irl 1.0 name Users ports ge.1.1-46
G3(su)->set cos port-config irl 2.0 name Uplink ports ge.1.47-48
G3(su)->show cos port-config
Inbound Rate Limiting Port Configuration Entries
----------------------------------------------------------------------
Port Group Name :Default
Port Group :0
Port Type :0
Assigned Ports :none
Note: It is recommended that you use Enterasys Networks NetSight Policy Manager as an
alternative to CLI for configuring policy-based CoS on the switches.
Procedure 8-1 User-Defined CoS Configuration
Step Task Command(s)
1. Enable CoS set cos state
2. Create CoS port groups set cos port-config
3. Define physical rate limiters for groups set cos port-resource
4. Create virtual reference for the IRL resource
(physical reference) for each port group
set cos reference
5. Add IRL reference to CoS settings table set cos settings