DGS-6604
m
qos map cos-color
CLI Reference Guide
511
qos map cos-color
To define the CoS to color map for mapping of a packet's initial color, use the qos
map cos-color command in interface configuration mode. To return the map to
default setting, use the no form of this command.
qos map cos-color
COS-LIST
to { green | yellow | red}
no qos map cos-color
Default
COS-LIST:
0-7 set to green
Command Mode
Interface configuration
Usage Guideline
Only Physical port interfaces are supported; port channel interface and vlan
interface are not valid for this command.
When a packet entering the ingress port, it will be colored based on either the
DSCP to color map (as the port is trust DSP) or CoS to color map (as the port is
trust CoS).
Use the qos map cos-color command in interface configuration mode to
configure the CoS to color map. If the ingress port is trust CoS, the received
packet will be initialized to color based on this map.
Example
The following example defines CoS 1-7 as red color, 0 as green color at eth 3.1.
Verify the settings by entering the
show qos interface map
command
Syntax Description
COS-LIST
Specifies the list of COS value to be mapped to a color. The range of COS is 0 to
7. The multiple CoS values in the list can be in the form 1, 2,..etc.. separated by
commas, a continuous list such as 2-7, or a mixed form 1, 2, 3-5, etc..
Switch(config)# interface eth3.1
Swtich (config-if)# qos map cos-color 1-7 to red