Configuration Roadmap
The configuration roadmap is as follows:
1. Configure IGP on the backbone network to interconnect the ASBR and the PE in the same
AS. Set up MPLS LDP LSP between the ASBR and the PE in the same AS.
2. Set up the EBGP peer relationship between the PE and the CE. Set up the MP-IBGP peer
relationship between the PE and the ASBR.
3. Configure the VPN instance on the PE. (There is no need to configure the VPN instance
on the ASBR.)
4. Enable MPLS on the interface connected ASBRs. Set up the MP-EBGP peer relationship
between ASBRs. Configure no VPN-target filtration on the received VPNv4 routes.
Data Preparation
To complete the configuration, you need the following data:
l MPLS LSR-ID on the PE and the ASBR
l Name, RD and the VPN-Target of the VPN instance configured on the PE1 and PE2
Procedure
Step 1 Configure IGP on MPLS backbone of AS 100 and AS 200 respectively to make the PE and the
P reach each other in the same AS.
OSPF is used as the IGP in this example, the configuration procedure is not mentioned here.
NOTE
The 32-bit loopback interface address used as the LSR ID should be advertised by OSPF.
After the configuration, the OSPF neighbor relationship should be established between the
ASBR and the PE of the same AS. Run the display ospf peer command to find that the status
of the OSPF neighbor relationship is "Full".
The ASBR and the PE in the same AS can learn the Loopback addresses of each other and can
ping through each other.
Step 2 Configure MPLS basic capability and MPLS LDP on the MPLS backbone of AS 100 and AS
200 respectively to setup LDP LSP.
For configuration procedures, see Example for Configuring Inter-AS VPN Option A.
Step 3 Configure basic BGP/MPLS IP VPN on the MPLS backbone of AS 100 and AS 200 respectively.
NOTE
The VPN target of the VPN instances of the PE1 and the PE2 should be matched.
For configuration procedures, see the following configuration files.
Step 4 Configure inter-AS VPN Option B mode.
# Configure ASBR 1. Enable MPLS on GigabitEthernet2/0/0 connected with ASBR 2.
<ASBR1> system-view
[ASBR1] interface gigabitethernet 2/0/0
[ASBR1-GigabitEthernet2/0/0] ip address 192.1.1.1 24
[ASBR1-GigabitEthernet2/0/0] mpls
[ASBR1-GigabitEthernet2/0/0] quit
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN 3 BGP MPLS IP VPN Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
185