Enterasys g3g124-24 Mode D'Emploi
Configuring Policy Class of Service (CoS)
Enterasys G-Series CLI Reference 8-15
Configuring Policy Class of Service (CoS)
The G‐Series supports Class of Service (CoS), which allows you to assign mission‐critical data to a
higher priority through the device by delaying less critical traffic during periods of congestion.
The higher priority traffic going through the device is serviced first (before lower priority traffic).
The Class of Service capability of the device is implemented by a priority queueing mechanism.
Class of Service is based on the IEEE 802.1D (802.1p) standard specification, and allows you to
define eight priorities (0‐7, with 7 granted highest priority) and up to 8 transmit queues (0‐7) for
each port.
higher priority through the device by delaying less critical traffic during periods of congestion.
The higher priority traffic going through the device is serviced first (before lower priority traffic).
The Class of Service capability of the device is implemented by a priority queueing mechanism.
Class of Service is based on the IEEE 802.1D (802.1p) standard specification, and allows you to
define eight priorities (0‐7, with 7 granted highest priority) and up to 8 transmit queues (0‐7) for
each port.
By default, policy‐based CoS is disabled on the device, and default or user‐assigned port‐based
802.1D (802.1p) settings are used to determine traffic rate limiting. When policy‐based CoS is
enabled, the default and user‐assigned policy‐based settings will override port‐based settings
described in
802.1D (802.1p) settings are used to determine traffic rate limiting. When policy‐based CoS is
enabled, the default and user‐assigned policy‐based settings will override port‐based settings
described in
About Policy-Based CoS Configurations
Once enabled using the set cos state command as described in “
” on page 8‐17, you
can add to the policy‐based CoS function by defining new port groupings, and assigning inbound
rate limiters. The process for user‐defined CoS configuration involves the following steps and
associated commands listed in
rate limiters. The process for user‐defined CoS configuration involves the following steps and
associated commands listed in
. An example follows the procedure.
Example
This example creates different inbound rate limiters for two port groups and then assigns them to
traffic with a CoS setting of 0.
traffic with a CoS setting of 0.
1.
Configure two port groups, one for user ports and one for uplink ports and assign ports to the
groups. Port group 1.0 will represent user ports, group 2.0 will represent uplink ports.
groups. Port group 1.0 will represent user ports, group 2.0 will represent uplink ports.
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)->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
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.
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
(physical reference) for each port group
set cos reference
5.
Add IRL reference to CoS settings table
set cos settings