D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 3 MPLS QOS
Configuration
3-27
DES-7200(config-pmap-c)# exit
# Configure the inner CoS of packets belonging to class-voice as 1
DES-7200(config-pmap)# class class-ftp
DES-7200(config-pmap-c)# set cos 1
DES-7200(config-pmap-c)# exit
# Configure the inner CoS of packets belonging to class-voice as 0
DES-7200(config-pmap)# class class-other
DES-7200(config-pmap-c)# set cos 0
DES-7200(config-pmap-c)# exit
DES-7200(config-pmap)# exit
# Attach policy-vpn-1 to interface GigabitEhternet 1/1
DES-7200(config)# interface GigabitEthernet 1/1
DES-7200(config-if)# service-policy input policy-vpn-1
DES-7200(config-if)# exit
3) Allocate bandwidth for four service classes
# class-voice corresponds to queue 7, with weight being 0 (SP queue)
# class-sap corresponds to queue 4, with weight being 3; class-ftp corresponds
to queue 2, with weight being 2.
# class-other corresponds to queue 1, with weight being 4.
DES-7200(config)# wrr-queue bandwidth 4 2 0 3 0 0 0 0
DES-7200(config)# end
P device:
1) Implement traffic classification of incoming packets, and classify packets
according to MPLS EXP.
# Enter global configuration mode
DES-7200# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
# Create class
DES-7200(config)# class-map cls-mpls-exp-7
DES-7200(config-cmap)# match mpls experimental topmost 7
DES-7200(config-cmap)# exit
DES-7200(config)# class-map cls-mpls-exp-6
DES-7200(config-cmap)# match mpls experimental topmost 6
DES-7200(config-cmap)# exit
DES-7200(config)# class-map cls-mpls-exp-5