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 TE and Layer 2 VPN.
huawei(config)#
mpls lsr-id 5.5.5.5
huawei(config)#
mpls
huawei(config-mpls)#
mpls te
huawei(config-mpls)#
mpls rsvp-te
huawei(config-mpls)#
quit
huawei(config)#
mpls l2vpn
3.
Enable the VLAN interface MPLS TE function and configure the IP address of the VLAN
interface.
huawei(config)#
mpls vlan 300
huawei(config)#
interface vlanif 300
huawei(config-if-vlanif300)#
ip address 192.168.2.20 24
huawei(config-if-vlanif300)#
mpls
huawei(config-if-vlanif300)#
mpls te
huawei(config-if-vlanif300)#
mpls rsvp-te
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)#
opaque-capability enable
..//Enable the opaque capability
huawei(config-ospf-1)#
area 200
huawei(config-ospf-1-area-0.0.0.200)#
mpls-te enable standard-complying
//Enable
MPLS TE for the OSPF area
huawei(config-ospf-1-area-0.0.0.200)#
network 192.168.2.0 0.0.0.255
huawei(config-ospf-1-area-0.0.0.200)#
network 5.5.5.5 0.0.0.0
huawei(config-ospf-1-area-0.0.0.200)#
return
Step 4
Configure a PWE3 outer tunnel.
Configure the tunnel ID to 20 and the encapsulation protocol of the tunnel interface at the data
link layer to MPLS TE.
huawei#
config
huawei(config)#
interface tunnel 20
huawei(config-if-tunnel20)#
tunnel-protocol mpls te
Configure the destination IP address of the tunnel to 7.7.7.7.
huawei(config-if-tunnel10)#
destination 7.7.7.7
Configure the ID of the MPLS TE tunnel interface to 20. The tunnel ID and LSR ID uniquely
identify an MPLS TE tunnel.
huawei(config-if-tunnel20)#
mpls te tunnel-id 20
Configure the signaling protocol of the MPLS TE tunnel to RSVP-TE.
huawei(config-if-tunnel20)#
mpls te signal-protocol rsvp-te
Configure the MPLS TE tunnel for being bound by a VPN instance.
huawei(config-if-tunnel20)#
mpls te reserved-for-binding
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.
411