Confi
gurati
on
Item
Data
Remarks
Requirement on PE3 and
PE4
VSI
l
PW1 and PW2
are bound to
VSI.
l
VLAN 100 of
the Internet
access service is
bound to VSI.
VSI binds VLAN and PW to
map VLAN to the VPLS
domain, so that PADI
packets for the Internet
access service can be
broadcast in the VPLS
domain at first, until one of
the BRAS response.
VSI is configured on PE3 and
PE4 and the VSI ID must bind
the corresponding PW.
Procedure
Step 1
Configure the basic MPLS.
1.
Configure a loopback interface.
Set the ID of the loopback interface to
0
and its IP address to
10.10.10.10/32
.
huawei(config)#
interface loopback 0
huawei(config-if-loopback0)#
ip address 10.10.10.10 32
huawei(config-if-loopback0)#
quit
2.
Configure the MPLS LSR-ID. Use the IP address of loopback interface 0 as the LSR ID.
huawei(config)#
mpls lsr-id 10.10.10.10
3.
Enable MPLS globally.
Trigger LDP by the IP address of the host to set up an LSP.
huawei(config)#
mpls
huawei(config-mpls)#
lsp-trigger host
huawei(config-mpls)#
quit
4.
Enable the L2VPN function.
huawei(config)#
mpls l2vpn
5.
Enable the LDP function globally and enable the split horizon policy.
huawei(config)#
mpls ldp
huawei(config-mpls-ldp)#
outbound peer all split-horizon
huawei(config-mpls-ldp)#
quit
Step 2
Configure VLAN and enable MPLS for VLAN and VLAN interfaces.
1.
Add VLAN 4001 for forwarding MPLS packets and add upstream port 0/19/0 and 0/19/1
to it.
huawei(config)#
vlan 4001 smart
huawei(config)#
port vlan 4001 0/19/0
huawei(config)#
port vlan 4001 0/19/1
2.
Enable MPLS for VLAN 4001.
huawei(config)#
mpls vlan 4001
3.
Set the IP address of VLAN interface 4001 to
10.50.50.50/24
and enable MPLS LDP for
the VLAN interface.
huawei(config)#
interface vlanif 4001
huawei(config-if-vlanif4001)#
ip address 10.50.50.50 24
huawei(config-if-vlanif4001)#
mpls
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
6 Configuration Example of VPLS
Issue 01 (2014-04-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
492