552
C
49: BGP/MPLS VPN C
HAPTER
Typical BGP/MPLS VPN
Configuration
Example
Integrated BGP/MPLS
VPN Configuration
Example
ONFIGURATION
Network requirements
VPNA includes CE1 and CE3; VPNB includes CE2 and CE4.
■
Subscribers in different VPNs cannot access each other. The VPN-target
■
attribute for VPNA is 111:1 and that for VPNB is 222:2.
The PEs and P are 3Com switches supporting MPLS, and CEs are common layer
■
3 switches.
n
The configuration in this case is focused on:
Configure EBGP to exchange VPN routing information between CEs and PEs.
■
Configure OSPF for inter-PE communication between PEs.
■
Configure MP-IBGP to exchange VPN routing information between PEs.
■
Network diagram
Figure 134 Network diagram for integrated BGP/MPLS VPN
AS 65410
AS 65410
CE1
CE1
VLAN201
VLAN201
168.1.1.1/16
168.1.1.1/16
VPN-A
VPN-A
VLAN202
VLAN202
168.1.1.2/16
168.1.1.2/16
202.100.1.1./32
202.100.1.1./32
VLAN202
VLAN202
AS 65420
AS 65420
168.2.1.2/16
168.2.1.2/16
CE2
CE2
VLAN201
VLAN201
168.2.1.1/16
168.2.1.1/16
VPN-B
VPN-B
Configuration procedure
The following are the configuration introduction to PE, CE and P switches.
1 Configure CE1.
# Configure CE1 and PE1 as EBGP neighbors, import direct-connect routes and
static routes to import intra-CE1 VPN routes into BGP and advertise to
PE1.CE1connects to PE1 through interface Gigabitethernet 2/1/1.
[CE1] vlan 201
[CE1-vlan201] port gigabitethernet 2/1/1
AS 100
AS 100
PE1
PE1
PE1
PE1
RD(100:1)
RD(100:1)
RD(100:1)
RD(100:1)
VLAN201
VLAN201
VLAN201
VLAN201
172.1.1.1/16
172.1.1.1/16
172.3.1.1/16
172.3.1.1/16
Loopback0
Loopback0
P
P
P
P
VLAN301
VLAN301
VLAN302
VLAN302
PE2
PE2
RD(100:2)
RD(100:2)
VLAN201
VLAN201
VLAN201
VLAN201
172.4.1.1./16
172.4.1.1./16
172.2.1.1./16
172.2.1.1./16
Loopback0
Loopback0
202.100.1.2./32
202.100.1.2./32
AS 65430
AS 65430
AS 65430
AS 65430
VLAN201
VLAN201
168.3.1.1/16
168.3.1.1/16
PE3
PE3
RD(100:3)
RD(100:3)
VLAN202
VLAN202
168.3.1.2/16
168.3.1.2/16
168.3.1.2/16
168.3.1.2/16
Loopback0
Loopback0
VLAN303
VLAN303
202.100.1.3./32
202.100.1.3./32
VLAN304
VLAN304
PE4
PE4
RD(100:4)
RD(100:4)
VLAN202
VLAN202
168.4.1.2/16
168.4.1.2/16
Loopback0
Loopback0
202.100.1.4./32
202.100.1.4./32
VLAN201
VLAN201
168.4.1.1/16
168.4.1.1/16
CE3
CE3
CE3
CE3
VPN-A
VPN-A
VPN-A
VPN-A
AS 65440
AS 65440
AS 65440
AS 65440
CE4
CE4
CE4
CE4
VPN-B
VPN-B
VPN-B
VPN-B
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers