Spoke-PE2 GigabitEthernet1/0/0 VLANIF 60 120.1.1.2/24
GigabitEthernet2/0/0 VLANIF 20 11.1.1.1/24
Loopback1 - 3.3.3.9/32
Hub-CE GigabitEthernet1/0/0 VLANIF 30 110.1.1.1/24
GigabitEthernet2/0/0 VLANIF 40 110.2.1.1/24
Spoke-CE1 GigabitEthernet1/0/0 VLANIF 50 100.1.1.1/24
Spoke-CE2 GigabitEthernet1/0/0 VLANIF 60 120.1.1.1/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Set up MP-IBGP peer relation between the Hub-PE and the Spoke-PE. Do not set up MP-
IBGP peer relation between Spoke-PEs.
2. Create two VPN instances on the Hub-PE. The import targets are the export targets of the
two Spoke-PEs. The export targets are different from the import targets.
3. Create a VPN instance on the Spoke-PE. The import target is the export target of the Hub-
PE.
4. Run EBGP between the CE and PE.
5. Configure the Hub-PE to accept the routes with two repeated ASNs.
Data Preparation
To complete the configuration, you need the following data:
l IDs of the VLANs that the interfaces belong to, as shown in Figure 3-8
l IP address of each VLANIF interface, as shown in Figure 3-8
l MPLS LSR IDs of the PEs
l VPN instance names, RDs, and VPN targets of the Hub-PE and Spoke-PE
Procedure
Step 1 Configure IGP on the backbone network to make the Hub-PE and the Spoke-PE communicate
with each other.
In this example, OSPF is used as IGP and the configuration procedure is not mentioned.
After the configuration, an OSPF adjacency can be established between the Hub-PE and the
Spoke-PEs. Run the display ospf peer command, and you can see that the status of the adjacency
is Full. Run the display ip routing-table command, and you can see that the Hub-PE and the
Spoke-PEs can learn the loopback routes of each other.
Step 2 Configure the basic MPLS capability on the backbone network and set up an LDP LSP.
# Configure the Hub-PE.
[Hub-PE] mpls lsr-id 2.2.2.9
[Hub-PE] mpls
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
212