D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 3 MPLS QOS
Configuration
3-26
On egress interface Gi 2/1 of PE-2, configure QoS policy according to the
DSCP value of packets.
3.5.3.2 Configuration Steps
PE-1:
1) Classify packets into 4 classes according to the DSCP value of packets.
# Enter global configuration mode
DES-7200# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
# Create the class of class-voice to match DSCP value of 48 (all voice packets)
DES-7200(config)# class-map class-voice
DES-7200(config-cmap)# match ip dscp 48
DES-7200(config-cmap)# exit
# Create the class of class-sap to match DSCP value of 16 (all SAP packets)
DES-7200(config)# class-map class-sap
DES-7200(config-cmap)# match ip dscp 16
DES-7200(config-cmap)# exit
# Create the class of class-ftp to match DSCP value of 8 (all FTP packets)
DES-7200(config)# class-map class-ftp
DES-7200(config-cmap)# match ip dscp 8
DES-7200(config-cmap)# exit
# Create the class of class-other to match DSCP value of 0 (all other packets)
DES-7200(config)# class-map class-other
DES-7200(config-cmap)# match ip dscp 0
DES-7200(config-cmap)# exit
2) Configure the EXP value in MPLS labels of outgoing packets (by configuring
inner CoS)
DES-7200(config)# policy-map policy-vpn-1
# Configure the inner CoS of packets belonging to class-voice as 6
# Rate limit class-voice, with CAR being 100Mbits/s and burst being 4096Kbyte;
discard excess packets.
DES-7200(config-pmap)# class class-voice
DES-7200(config-pmap-c)# set cos 6
DES-7200(config-pmap-c)# police 1000000 4096 exceed-action drop
DES-7200(config-pmap-c)# exit
# Configure the inner CoS of packets belonging to class-sap as 3
DES-7200(config-pmap)# class class-sap
DES-7200(config-pmap-c)# set cos 3