DGS-6604
m
color-aware
CLI Reference Guide
121
color-aware
Use the
color-aware
command to specify the color aware mode for a class. Use
the no form of the command to set the class to color blind mode.
color-aware
no color-aware
Syntax
None
Default
color-blind mode
Command Mode
Policy-map class configuration
Usage Guideline
The
color-aware
command specifies that the configured policer for the traffic
class will operate in color aware mode. In color aware mode, the initial color of
the packet and the policer metering result determines the final color. The initial
color of the packet is mapped from the incoming DSCP based on the DSCP to
color map if the receiving port trusts DSCP. If the receiving port trusts CoS, then
the initial color is mapped from the incoming CoS based on the CoS to color map
If the configured policer operates in color blind mode, then the policer metering
result determines the final color.
Examples
The following example creates the policy map pcolor-map1 and configures the
policy of running color aware mode and two rate policing for the class1 class in
the policy map.
The following example attach the pcolor-map1 policy map to eth3.1 and sets the
port to trust CoS and defines the CoS to color map.
Verify the settings by entering the
show policy-map
command.
Switch(config)# policy-map pcolor-map1
Switch(config-pmap)# class class1
Switch(config-pmap-c)# color-aware
Switch(config-pmap-c)# police cir 500000 bc 10000 pir 1000000 be 10000
exceed-action set-dscp-transmit 2 violate-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface eth3.1
Swtich (config-if)# service-policy pcolor-map1
Swtich (config-if)# qos trust cos
Swtich (config-if)# qos map cos-color 1-7 to green
Swtich (config-if)# exit
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...