GigabitEthernet2/0/0 VLANIF 40 10.2.1.2/24
P GigabitEthernet1/0/0 VLANIF 10 100.1.1.2/24
GigabitEthernet2/0/0 VLANIF 20 100.2.1.1/24
CE1 GigabitEthernet1/0/0 VLANIF 30 10.1.1.1/24
GigabitEthernet2/0/0 VLANIF 50 100.3.1.2/24
CE2 GigabitEthernet1/0/0 VLANIF 40 10.2.1.1/24
 
Configuration Roadmap
In this example, you need to configure an L3VPN, and then configure three static routes. The
configuration roadmap is as follows:
1. 3.4 Configuring Basic BGP/MPLS IP VPN.
2. Add a default route on CE1, with the next hop being PE1.
3. Add a default route on PE1 from a device on the VPN to the Internet. The IP address of the
P is the next hop address. Thus, the traffic on the agent server can reach the Internet.
4. Add a static route on PE1 from the Internet to the agent server. The IP address of CE1 is
the next hop address. Advertise the static route to the Internet through IGP. Thus, the traffic
on the Internet can reach the server connected to CE1.
Data Preparation
To complete the configuration, you need the following data:
l MPLS LSR-IDs of PE and P
l RD of the VPN
l VPN targets of the received and sent routes
Procedure
Step 1 Configure VLANs that the interfaces belong to, as shown in Figure 3-14.
The configuration procedure is not mentioned.
Step 2 Configure the IGP protocol.
Assign IP addresses to the physical interfaces and loopback interfaces on the backbone network.
Run IGP on each device on the backbone network so that PE1, P and PE2 can ping each other
and learn the loopback address of each other. The detailed configuration is not mentioned here.
Step 3 Set up MPLS LDP LSPs and MP-IBGP adjacencies.
Set up an MPLS LSP and an MP-IBGP adjacency between the PEs. The detailed configuration
is not mentioned here.
After the configuration, run the display mpls ldp session command on P, and you can find that
the LDP sessions between PE1 and P, and between PE2 and P are in Operational state.
Take the display on P for example.
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.
270