Figure 3-4 Hub and Spoke networking diagram
Loopback1
1.1.1.9/32
Loopback1
3.3.3.9/32
AS100
Spoke-PE1
Hub-CE
Spoke-PE2
Eth1/0/0
110.1.1.1/24
Loopback1
2.2.2.9/32
Hub-PE
Eth2/0/0
11.1.1.2/24
Eth1/0/0
10.1.1.2/24
Eth2/0/0
10.1.1.1/24
Spoke-CE1
Eth1/0/0
100.1.1.2/24
Eth1/0/0
100.1.1.1/24
Eth2/0/0
11.1.1.1/24
Spoke-CE2
Eth1/0/0
120.1.1.1/24
Eth1/0/0
120.1.1.2/24
AS: 65410
AS: 65420
AS: 65430
Eth2/0/1
110.1.1.2/24
Eth2/0/0
110.2.1.1/24
Eth1/0/1
110.2.1.2/24
Backbone
Configuration Roadmap
The configuration roadmap is as follows:
1. Set up the MP-IBGP peer relationship between the Hub-PE and Spoke-PE. (There is no
need to set up the MP-IBGP peer relationship between the Spoke-PEs.)
2. Create a VPN instance on the Spoke-PE and set the Import-Target differenet from the
Export-Target.
3. Create two VPN instances, namely, vpn_in and vpn_out on the Hub-PE. Set the VPN-
Target community attribute received by vpn_in as those advertised by two Spoke-PEs. Set
the VPN target community attribute advertised by vpn_out to be the VPN target community
attribute received by the two Spoke-PEs and to be different from the attributes received by
vpn_out.
4. Configure EBGP between the CE and the PE.
5. Configure Hub-PE to allow Hub-PE to receive the route with the AS repeated for one time.
Data Preparation
To configure the Hub&Spoke, you need the following data:
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.
167