Step 10
Configure the WRED profile.
The index is 5. Configure the WRED profile so that green packets are not dropped, lower
threshold for dropping yellow packets is 50, upper threshold for dropping yellow packets is 80,
and the packet dropping percentage is 100.
huawei(config)#
wred-profile index 5 green low-limit 100 high-limit 100
discard-probability 0 yellow low-limit 50 high-limit 80 discard-probability 100
Step 11
Configure queues and bind the WRED profile.
huawei(config)#
queue-wred queue0 5 queue1 5 queue2 5 queue3 5 queue4 5 queue5 5
queue6 5 queue7 5
Step 12
Configure the priority remarking policy.
Remark the priority of yellow packets. Specifically, remark priority 1 (UBR service packets) to
0; priority 4 (VBR service packets) to 2, and priority 5 (CBR service packets) to 5.
huawei(config)#
cos-remark cos1 0 cos4 2 cos5 5
Step 13
Configure the mapping between queues and 802.1p priorities.
Packets with 802.1p priorities 0 and 1 join queue 1; packets with 802.1p priorities 2 and 4 join
queue 4; packets with 802.1p priority 5 join queue 5.
NOTE
Ensure that the packets with the CoS values before and after remarking join the same queue.
huawei(config)#
cos-queue-map cos0 1 cos1 1 cos2 4 cos4 4 cos5 5
Step 14
Set committed rate in the PW upstream direction.
l
Set CAR in the upstream direction of PW 20 to 12288 kbit/s.
huawei(config)#
mpls car-pw 20 cir 12288
l
Set CAR in the upstream direction of PW 21 to 30720 kbit/s.
huawei(config)#
mpls car-pw 21 cir 30720
l
Set CAR in the upstream direction of PW 22 to 6144 kbit/s.
huawei(config)#
mpls car-pw 22 cir 6144
----End
Result
l
UBR, VBR, and CBR services can be migrated to an IP network smoothly. No change is
required on the user side and users will not feel any change.
l
Various services are scheduled based on their priorities. When a congestion occurs on the
network, the quality of CBR services is guaranteed with precedence.
l
When a congestion occurs at a port, the system first drops traffic of the burst bandwidth
(bandwidth > peak value), ensuring the guaranteed bandwidth for each type of service.
Configuration File
vlan 300 smart
port vlan 300 0/19 1
interface loopback 0
ip address 5.5.5.5 32
quit
mpls lsr-id 5.5.5.5
mpls
quit
mpls l2vpn
mpls vlan 300
interface vlanif 300
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
4 Configuration Example of the Private Line Service
Issue 01 (2014-04-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
407