The cos | dscp parameter specifies the trust level:
•
•
Enabling marking
This command enables marking of the 802.1p field or the DSCP field in the ToS byte of an IP
header.
Syntax: [no] qos-tos mark cos | dscp
The cos | dscp parameter specifies the type of marking:
•
•
Configuring the QoS mappings
The Brocade device maps a packet's 802.1p or DSCP value to an internal forwarding priority. The
default mappings are listed in
as described in this section:
NOTE
In a configuration where you have marking enabled with the trust level set to CoS, 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.
NOTE
The mappings are globally configurable and apply to all interfaces.
Changing the CoS –> DSCP mappings
The CoS –> DSCP mappings are used if the trust level is CoS and DSCP marking is enabled.
To change the CoS –> DSCP mappings, enter commands such as the following at the global
CONFIG level of the CLI.
BigIron RX(config)# qos-tos map cos-dscp 0 33 25 49 17 7 55 41
BigIron RX(config)# ip rebind-acl all
BigIron RX Series Configuration Guide
53-1001810-01
cos – The device uses the 802.1p (CoS) priority value in the packet's Ethernet frame header to
determine the packet's internal forwarding priority. This is the default state and is in effect
even Qos-ToS is enabled on a port.
dscp – The device uses the six most-significant bits in the packet's ToS field and interprets
them as a DSCP value to determine the packet's internal forwarding priority.
cos – The device changes the outbound packet's 802.1p priority value to match the results of
the device's QoS mapping from the specified trust level.
dscp – The device changes the outbound packet's DSCP value to match the results of the
device's QoS mapping from the specified trust level.
•
CoS –> DSCP
•
DSCP –> DSCP
•
DSCP –> internal forwarding priority
•
CoS –> internal forwarding priority
The mappings are globally configurable and apply to all interfaces.
Table 87
through
Table
90. You can change the following mappings
Configuring the QoS mappings
18
471