3com 8807 User Guide
552
C
HAPTER
49: BGP/MPLS VPN C
ONFIGURATION
Typical BGP/MPLS VPN
Configuration
Example
Configuration
Example
Integrated BGP/MPLS
VPN Configuration
Example
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.
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.
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
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.
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 65430
AS 65410
AS 65430
AS 65440
VPN-B
CE4
PE1
RD(100:1)
P
VPN-A
CE3
VLAN201
168.3.1.1/16
168.3.1.2/16
AS 65420
VPN-B
CE2
VPN-A
CE1
VLAN201
168.1.1.1/16
VLAN202
168.1.1.2/16
VLAN301
VLAN201
172.1.1.1/16
VLAN201
172.2.1.1./16
VLAN201
172.4.1.1./16
VLAN304
VLAN303
VLAN201
172.3.1.1/16
AS 100
PE2
RD(100:2)
PE4
RD(100:4)
PE3
RD(100:3)
Loopback0
202.100.1.1./32
Loopback0
202.100.1.3./32
Loopback0
202.100.1.2./32
Loopback0
202.100.1.4./32
VLAN201
168.4.1.1/16
168.4.1.1/16
VLAN201
168.2.1.1/16
VLAN202
168.4.1.2/16
VLAN202
168.2.1.2/16
AS 65440
VPN-B
CE4
PE1
RD(100:1)
P
VPN-A
CE3
VLAN202
168.3.1.2/16
168.3.1.2/16
VLAN302
AS 65430
AS 65410
AS 65430
AS 65440
VPN-B
CE4
PE1
RD(100:1)
P
VPN-A
CE3
VLAN201
168.3.1.1/16
168.3.1.2/16
AS 65420
VPN-B
CE2
VPN-A
CE1
VLAN201
168.1.1.1/16
VLAN202
168.1.1.2/16
VLAN301
VLAN201
172.1.1.1/16
VLAN201
172.2.1.1./16
VLAN201
172.4.1.1./16
VLAN304
VLAN303
VLAN201
172.3.1.1/16
AS 100
PE2
RD(100:2)
PE4
RD(100:4)
PE3
RD(100:3)
Loopback0
202.100.1.1./32
Loopback0
202.100.1.3./32
Loopback0
202.100.1.2./32
Loopback0
202.100.1.4./32
VLAN201
168.4.1.1/16
168.4.1.1/16
VLAN201
168.2.1.1/16
VLAN202
168.4.1.2/16
VLAN202
168.2.1.2/16
AS 65440
VPN-B
CE4
PE1
RD(100:1)
P
VPN-A
CE3
VLAN202
168.3.1.2/16
168.3.1.2/16
VLAN302