beautypg.com

Packet mapping commands, Changing the cos –> dscp mappings – Brocade Multi-Service IronWare QoS and Traffic Management Configuration Guide (Supporting R05.6.00) User Manual

Page 124

background image

110

Multi-Service IronWare QoS and Traffic Management Configuration Guide

53-1003037-02

Configuring QoS

4

NOTE

In release 03.8.00 and later, the qos pcp encode-policy on command must be configured when the
qos-tos mark cos command is configured. The qos pcp encode-policy command is on by default and
does not require explicit configuration unless it has been configured to be off.

NOTE

You can't apply an ACL to an interface in the outbound direction to change the priority of certain
types of traffic.

Packet mapping commands

The qos-tos trust command, that is retained from pre-03.8.00 versions of Multi-Service IronWare
software, described in the proceeding section, specifies that a COS, IP-Precedence, or DSCP value
received on an Ingress port will be used to determine the QoS value that is marked on an outgoing
packet on an egress port. The qos-tos mark command that is also retained from pre-03.8.00
versions, directs the device to mark outgoing packets with a COS or DSCP value as specified in the
command. The value to be marked is determined by a mapping between the value received on the
Ingress port and another value that you set using one of the following procedures:

Changing the CoS -> DSCP Mappings

Changing the IP Precedence –> DSCP Mappings

Changing the DSCP –> DSCP Mappings

Changing the CoS –> DSCP mappings

The CoS –> DSCP mappings are used if the trust level is CoS as set by the qos-tos trust command.

To change the CoS –> DSCP mappings, enter commands such as the following at the global
CONFIG level of the CLI.

Brocade(config)# qos-tos map cos-dscp 0 33 25 49 17 7 55 41

Brocade(config)# ip rebind-acl all

This command configures the mappings displayed in the COS-DSCP map portion of the QoS
information display.

Brocade(config-if-1/1)# show qos-tos

...portions of table omitted for simplicity...

COS-DSCP map:

COS: 0 1 2 3 4 5 6 7

---------------------------------------------------------

dscp: 0 33 25 49 17 7 55 41

Syntax: [no] qos-tos cos-dscp dscp1 dscp2 dscp3 dscp4 dscp5 dscp6 dscp7 dscp8

The dscp1 ... dscp8 parameters specify the DSCP values you are mapping to the eight CoS values.
You must enter DSCP values for all eight CoS values, in order from CoS value 0 – 7.

NOTE

To place a qos-tos mapping change into effect, you must enter the ip rebind-acl all command at the
global CONFIG level of the CLI after making the mapping change. This applies to mappings that are
configured using the qos-tos map command.