3Com Switch 8800 Configuration Guide
Chapter 37 BGP/MPLS VPN Configuration
37-28
II. Network diagram
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
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
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
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
VLAN302
Figure 37-8
Network diagram for integrated BGP/MPLS VPN
III. 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
[CE1-vlan201] quit
[CE1] interface Vlan-interface 201
[CE1-Vlan-interface201] ip address 168.1.1.1 255.255.0.0
[CE1-Vlan-interface201] quit
[CE1] bgp 65410
[CE1-bgp] group 168 external
[CE1-bgp] peer 168.1.1.2 group 168 as-number 100
[CE1-bgp] import-route direct
[CE1-bgp] import-route static