1 configuring layer-2 qos, 2 802.1p class of service priority mapping, Configuring layer-2 qos -4 – Riverstone Networks WICT1-12 User Manual

Page 566: 1p class of service priority mapping -4, Table 26-1 802.1p default priority mappings -4

Advertising
background image

26-4 Riverstone Networks RS Switch Router User Guide Release 8.0

Traffic Prioritization for Layer-2 Flows

QoS Configuration

26.4.1

Configuring Layer-2 QoS

When applying QoS to a layer-2 flow, priority can be assigned as follows:

The frame gets assigned a priority within the switch. Select low, medium, high or control.

The frame gets assigned a priority within the switch, and if the exit ports are VLAN trunk ports, the
frame is assigned an 802.1p priority. Select a number from 0 to 7.

To set a QoS priority on a layer-2 flow, enter the following command in the Configure mode:

26.4.2

802.1p Class of Service Priority Mapping

The following table shows the default mappings of 802.1p Class of Service (CoS) values to internal priorities for
frames:

You can create one or more priority maps that are different from the default priority map and then apply these maps to
some or all ports on the RS. The new priority mapping replaces the default mappings for those ports.

Creating and Applying a New Priority Map

To specify a priority map on a per-port basis, enter the following commands in the Configure mode:

Set a layer-2
QoS policy.

qos set l2 name

<name>

source-mac

<MACaddr>

| any source-mac-mask

<MACaddr>

dest-mac

<MACaddr>

| any dest-mac-mask

<MACadddr>

vlan

<vlanID>

| any

in-port-list

<port-list>

priority control | high | medium | low

|

<trunk-priority>

Table 26-1 802.1p default priority mappings

802.1p CoS values

Internal priority queue

0, 1

Low

2, 3

Medium

4, 5

High

6, 7

Control

Create a new priority mapping.

qos create priority-map

<name>

<CoS number>

control |

high | medium | low

Apply new priority mapping to ports.

qos apply priority-map

<name>

ports

<port-list>

Advertising