Configuration Roadmap
The configuration roadmap is as follows:
1. Configure a routing protocol on the backbone network to implement the interworking
between devices and enable basic MPLS functions.
2. Set up LSP tunnels between PEs.
3. Enable MPLS L2VPN on PEs.
4. Enable BGP peers to exchange the VPLS information between PEs.
5. Create VSIs on PEs, specify BGP as the signaling protocol, and specify the RD, VPN target,
and site.
6. Bind VSIs to AC interfaces.
Data Preparation
To complete the configuration, you need the following data:
l IP addresses of peers
l Names of the VSIs on PE1 and PE2
l BGP AS numbers on PE1 and PE2
l Signaling protocol of a VSI, that is, BGP
l RDs, VPN targets, site IDs of VSIs on PEs
l Interfaces to which VSIs are bound and VLAN IDs of the interfaces
Procedure
Step 1 Configure the VLAN to which each interface belongs according to Figure 6-6.
The configuration details are not mentioned here.
NOTE
The S9300 only allows the CE to access the PE through a trunk.
Do not add the AC-side port and PW-side port of a PE to the same VLAN; otherwise, a loop may occur.
Step 2 Configure an IGP. In this example, OSPF is adopted.
Configure an IP address for each interface on the PEs and P as shown in Figure 6-6. When
configuring OSPF, advertise 32-bit loopback interface addresses (LSR IDs) of PE1, P, and PE2.
The configuration details are not mentioned here.
After the configuration is complete, run the display ip routing-table command on PE1, P, and
PE2. You can view the routes learned by PE1, P, and PE2 from each other.
Step 3 Configure basic MPLS functions and LDP.
For detailed configuration procedures, see the following configuration files.
After the configuration, run the display mpls ldp peer command. You can find that the peer
relationship is established between PE1 and P and between PE2 and P. Run the display mpls
ldp session command on PE1 and PE2, and you can find that an LDP session is set up between
PE1 and PE2. Run the display mpls lsp command, and you can view the setup of the LSP.
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 6 VPLS Configuration
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6-45