DES-7200 Configuration Guide Chapter 3 MPLS QOS
Configuration
3-12
DES-7200(config-pmap-c)# police
rate-bps burst-byte [exceed-action
{drop | dscp dscp-value | cos
cos-value [none-tos]}]
Limit the bandwidth for the specified
traffic and specify the action for
handling excess traffic. "Rate-bps"
refers to the limited data rate per
second (kbps); "burst-byte" refers to
the limited burst data rate (kbyte);
"drop" refers to discard excessive
packets; "dscp dscp-value" refers to
change the DSCP value of excessive
packets; "cos cos-value" refers to
change the CoS value of excessive
packets; the range of "cos-value" is
0-7; "none-tos" options means to
change the CoS value of packets
without changing the DSCP value of
packets.
DES-7200(config-pmap-c)# exit
Exit policy map configuration mode.
DES-7200(config-pmap)# exit
Exit data classification configuration
mode.
To delete an existing policy map, execute "no policy-map policy-map-name"
command.
To remove data class from a policy map, execute "no class class-map-name"
command in policy map configuration mode.
To remove the CoS configured for traffic, execute "no set cos" command in
data classification configuration mode.
To remove the bandwidth limit for the specified traffic and the action specified
for handling excess traffic, execute "no police" command in data classification
configuration mode.
With regard to MPLS QoS, do not configure or modify the DSCP value in the
policy. While configuring or modifying the CoS value of packets, "none-tos"
option shall be used to guarantee the integrity of DSCP value.
Example 1: Match all IP packets received on gigabitethernet 1/1 with DSCP
value being 0-7, and classify these packets into the class of class-2; impose
EXP value of 2 onto the MPLS label of outgoing packets (by configuring CoS
value).
DES-7200# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
# Create class map
DES-7200(config)# class-map class-2
DES-7200(config-cmap)# match ip dscp 0 1 2 3 4 5 6 7