313
# After you also configure BGP AS substitution on PE 1, verify that the GigabitEthernet interfaces of
CE 1 and CE 2 can ping each other. (Details not shown.)
Configuring BGP AS number substitution and SoO attribute
Network requirements
CE 1, CE 2, and CE 3 belong to VPN 1, and are connected to PE1, PE 2, and PE 3, respectively.
CE 1 and CE 2 reside in the same site. CE1, CE2, and CE 3 all use AS number 600.
•
To avoid route loss, configure BGP AS number substitution on PEs.
•
To avoid routing loops, configure the same SoO attribute on PE 1 and PE 2 for CE 1 and CE 2.
Figure 84 Network diagram
Table 25 Interface and IP address assignment
Device
Interface
IP address
Device
Interface
IP address
CE 1
Loop0
100.1.1.1/32
CE 3
Loop0
200.1.1.1 /32
GE1/1/1
10.1.1.1/24
GE1/1/1 10.3.1.1/24
CE 2
GE1/1/1
10.2.1.1/24
PE 2
Loop0
2.2.2.9/32
PE 1
Loop0
1.1.1.9/32
GE1/1/1
10.2.1.2/24
GE1/1/1
10.1.1.2/24
GE1/1/2 40.1.1.1/24
GE1/1/2
20.1.1.1/24
GE1/1/3 20.1.1.2/24
GE1/1/3
30.1.1.1/24
P Loop0
3.3.3.9/32
PE 3
Loop0
4.4.4.9/32
GE1/1/1
30.1.1.2/24
GE1/1/1
10.3.1.2/24
GE1/1/2 40.1.1.2/24
GE1/1/2
50.1.1.2/24
GE1/1/3 50.1.1.1/24
Configuration procedure
1.
Configure basic MPLS L3VPN:
Loop0
Loop0
Loop0
PE 1
P
PE 3
CE 2
CE 3
VPN 1
AS 600
VPN 1
AS 600
GE1/1/2
GE1/1/2
GE1/1/3
GE1/1/1
GE1/1/1
GE1/1/1
GE1/1/1
GE1/1/1
MPLS backbone
AS 100
CE 1
GE1/1/1
GE1/1/1
Loop0
GE1/1/2
GE1/1/3
GE1/1/3
GE1/1/2
PE 2
Loop0
Loop0