286
255B
Configuring BGP AS number substitution
504B
Network requirements
As shown in
815H
Figure 76
, CE 1 and CE 2 belong to VPN 1, and are connected to PE 1 and PE 2,
respectively. The two CEs have the same AS number, 600.
Configure BGP AS number substitution on the PEs to enable the CEs to communicate with each
other.
Figure 76 Network diagram
Table 22 Interface and IP address assignment
Device
Interface
IP address
Device
Interface
IP address
CE 1
Vlan-int11
10.1.1.1/24 P Loop0
2.2.2.9/32
Vlan-int12
100.1.1.1/24
Vlan-int11
30.1.1.1/24
PE 1
Loop0
1.1.1.9/32
Vlan-int12
20.1.1.2/24
Vlan-int11
10.1.1.2/24
PE 2
Loop0
3.3.3.9/32
Vlan-int12
20.1.1.1/24
Vlan-int11
30.1.1.2/24
CE 2
Vlan-int12
10.2.1.1/24
Vlan-int12
10.2.1.2/24
Vlan-int13
200.1.1.1/24
505B
Configuration procedure
1.
Configuring basic MPLS L3VPN:
{
Configure OSPF on the MPLS backbone to allow the PEs and P device to learn the routes
of the loopback interfaces from each other.
{
Configure basic MPLS and MPLS LDP on the MPLS backbone to establish LDP LSPs.
{
Establish an MP-IBGP peer relationship between the PEs to advertise VPNv4 routes.
{
Configure the VPN instance of VPN 1 on PE 2 to allow CE 2 to access the network.
{
Configure the VPN instance of VPN 1 on PE 1 to allow CE 1 to access the network.
{
Configure BGP as the PE-CE routing protocol, and redistribute routes of the CEs into the
PEs.