
Figure 3-8
Networking diagram of the inter-AS VPN
PE2
ASBR2
BGP/MPLS Backbone
AS 200
ASBR1
PE1
BGP/MPLS Backbone
AS 100
GE2/0/0
10.1.1.2/24
Loopback1
1.1.1.9/32
GE1/0/0
172.1.1.2/24
GE2/0/0
192.1.1.1/24
Loopback1
2.2.2.9/32
GE1/0/0
172.1.1.1/24
Loopback1
3.3.3.9/32
GE1/0/0
162.1.1.1/24
GE1/0/0
162.1.1.2/24
Loopback1
4.4.4.9/32
GE2/0/0
10.2.1.2/24
CE1
AS 65001
CE2
AS 65002
GE1/0/0
10.1.1.1/24
GE1/0/0
10.2.1.1/24
GE2/0/0
192.1.1.2/24
No IBGP peer relationship is needed between a PE and an ASBR. The ASBR learns the labeled
BGP routes of the public network at the remote AS from the peer ASBR. Then these BGP routes
are imported to IGP. In this manner, LDP can distribute labels for these routes and establish an
inter-AS LDP LSP. The inter-AS BGP/MPLS IP VPN Option C can then be realized.
Configuration Roadmap
The configuration roadmap is as follows:
1.
Advertise the routes of the PE within an AS to the remote PE: Advertise the routes of the
PE within an AS to the remote ASBR through BGP, import these BGP routes to IGP on
the remote ASBR, and then advertise the routes of the PE to the remote PE by using IGP.
2.
Configure a routing policy on the ASBR: Allocate MPLS labels to the the routes with MPLS
tokens received by a PE within the local AS and advertised to the remote ASBR. Allocate
new MPLS labels to the labeled IPv4 routes advertised to the PE within the local AS.
3.
Exchange the labeled IPv4 routes between the local ASBR and the remote ASBR.
4.
Configure an LDP LSP for the labeled BGP routes of the public network on ASBRs.
5.
Establish the MP-EBGP peer relationship between PEs of different ASs, and specify the
maximum hops between PEs because the PEs are generally not directly connected.
Data Preparation
To complete the configuration, you need the following data:
l
MPLS LSR ID of the PE and the ASBR
l
VPN instance name, RD, and VPN target created on the PE
l
Routing policy on the ASBR
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.
198