About policy-based cos configurations, Example, About policy-based cos configurations -16 – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 302

Advertising
background image

Configuring Policy Class of Service (CoS)

9-16 Policy Classification Configuration

enabled, the default and user‐assigned policy‐based settings will override port‐based settings 
described in 

Chapter 10

.

About Policy-Based CoS Configurations

Once enabled using the set cos state command as described in 

set cos state

” on page 9‐18, 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 

Procedure 9‐2

. 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. 

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. 

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

D2(su)->show cos port-config
Inbound Rate Limiting Port Configuration Entries
----------------------------------------------------------------------
Port Group Name :Default
Port Group :0
Port Type :0
Assigned Ports :none
----------------------------------------------------------------------
Port Group Name :Users
Port Group :1
Port Type :0
Assigned Ports :ge.1.1-46
----------------------------------------------------------------------
Port Group Name :Uplink
Port Group :2
Port Type :0
Assigned Ports :ge.1.47-48
----------------------------------------------------------------------

2.

Configure physical inbound rate limiters for each port group. For the user port group (1.0), 
create an IRL (irl‐index of 1) for 512 kbps. For the uplink port group (2.0), create an IRL (irl‐
index of 1) for 10 megabits per second (10,000 kbps).

D2(su)->set cos port-resource irl 1.0 1 unit kbps rate 512
D2(su)->set cos port-resource irl 2.0 1 unit kbps rate 10000

Procedure 9-2 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

Advertising
This manual is related to the following products: