Item
service Type
Remarks
UBR
VBR
CBR
Traffic
Profile
l
CAR:
OFF
l
Color
policy:
cos-
remark
l
Downst
ream
priority
policy:
tag-in-
packag
e
l
CAR:
OFF
l
Color
policy:
cos-
remark
l
Downst
ream
priority
policy:
tag-in-
packag
e
l
CAR: OFF
l
Color policy:
cos-remark
l
Downstream
priority
policy: tag-
in-package
The traffic profile does no limit the
rate. Instead the rate is limited
using PWs.
Procedure
Step 1
Configure a VLAN and add an upstream port to the VLAN.
Create upstream VLAN 300 and add upstream port 0/19/1 to VLAN 300.
huawei(config)#
vlan 300 standard
huawei(config)#
port vlan 300 0/19 1
Step 2
Enable MPLS.
1.
Configure the IP address of the loopback interface.
Configure the IP address of loopback interface 0 to 5.5.5.5/32.
huawei(config)#
interface loopback 0
huawei(config-if-loopback0)#
ip address 5.5.5.5 32
huawei(config-if-loopback0)#
quit
2.
Configure the LSR ID of the MPLS and enable global MPLS function and Layer 2 VPN.
huawei(config)#
mpls lsr-id 5.5.5.5
huawei(config)#
mpls
huawei(config-mpls)#
quit
huawei(config)#
mpls l2vpn
3.
Enable the MPLS function for VLAN 300, configure the IP address of the VLAN interface
300, and enable the MPLS function for it.
huawei(config)#
mpls vlan 300
huawei(config)#
interface vlanif 300
huawei(config-if-vlanif300)#
ip address 192.168.1.20 24
huawei(config-if-vlanif300)#
mpls
huawei(config-if-vlanif300)#
quit
Step 3
Configure a route.
PWE3 has no special requirement for the routing policy. Either a static route or an OSPF dynamic
route can be configured. Because OSPF supports MPLS RSVP-TE extension, an OSPF dynamic
route is recommended.
huawei(config)#
ospf 1
huawei(config-ospf-1)#
area 200
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.
404