import-route direct
#
ospf 1
area 0.0.0.0
network 2.2.2.9 0.0.0.0
network 10.1.1.0 0.0.0.255
network 11.1.1.0 0.0.0.255
#
return
3.18.4 Example for Configuring Inter-AS VPN Option A
After VPN instances are configured on ASBRs, you can implement the OptionA solution to
manage VPN routes in VRF-to-VRF mode.
Networking Requirements
As shown in Figure 3-5, CE1 and CE2 belong to the same VPN. The CE1 accesses the network
through the PE1 in AS 100 and the CE2 accesses the network through the PE2 in AS 200.
The Inter-AS BGP/MPLS IP VPN is implemented using Option A. That is, VRF-to-VRF method
is used to manage the VPN routes.
Figure 3-5 Networking diagram of 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
Configuration Roadmap
The configuration roadmap is as follows:
1. 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
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.
175