DES-7200 Configuration Guide Chapter 3 MPLS QOS
Configuration
3-28
DES-7200(config-cmap)# match mpls experimental topmost 5
DES-7200(config-cmap)# exit
DES-7200(config)# class-map cls-mpls-exp-4
DES-7200(config-cmap)# match mpls experimental topmost 4
DES-7200(config-cmap)# exit
DES-7200(config)# class-map cls-mpls-exp-3
DES-7200(config-cmap)# match mpls experimental topmost 3
DES-7200(config-cmap)# exit
DES-7200(config)# class-map cls-mpls-exp-2
DES-7200(config-cmap)# match mpls experimental topmost 2
DES-7200(config-cmap)# exit
DES-7200(config)# class-map cls-mpls-exp-1
DES-7200(config-cmap)# match mpls experimental topmost 1
DES-7200(config-cmap)# exit
DES-7200(config)# class-map cls-mpls-exp-0
DES-7200(config-cmap)# match mpls experimental topmost 0
DES-7200(config-cmap)# exit
2) Configure the input service policy, and rate limit the service class of
cls-mpls-exp 0
DES-7200(config)# policy-map policy-exp-0-rate-limit
# Rate limit cls-mpls-exp 0, with CAR being 1000Mbits/s and burst being
4096Kbyte
# Discard excess packets
DES-7200(config-pmap)# class cls-mpls-exp-0
DES-7200(config-pmap-c)# police 10000000 4096 exceed-action drop
DES-7200(config-pmap-c)# exit
DES-7200(config-pmap)# exit
# Attach policy-exp-0-rate-limit to interface TenGigabitEthernet 1/1
DES-7200(config)# interface TenGigabitEthernet 1/1
DES-7200(config-if)# service-policy input policy-exp-0-rate-limit
3) Configure QoS trust mode of ingress interface TenGigabitEthernet as trust
MPLS EXP
DES-7200(config-if)# mls qos trust experimental
DES-7200(config-if)# exit
4) Allocate bandwidth for MPLS EXP service classes
# Allocate the bandwidth according to the ratio of 6:1:1:3:1:3:4:1 for MPLS
EXP0-MPLS EXP7
DES-7200(config)# wrr-queue bandwidth 6 1 1 3 1 3 4 1
5) Enable MPLS EXP copying