3Com Switch 8800 Configuration Guide
Chapter 37 BGP/MPLS VPN Configuration
37-57
II. Network diagram
P1
VLAN205
10.1.1.2/24
20.1.1.1/24
CE1
CE2
172.12.12.2/24
PC1
PC2
CE4
PC4
CE3
172.21.21.2/24
PC3
192.168.11.10
192.168.21.10
192.168.12.10
192.168.22.10
172.21.21.1/24
172.11.11.1/24
10.1.1.1/24
20.1.1.2/24
172.12.12.1/24
172.22.22.1/24
98.98.98.1/24
98.98.98.2/24
VLAN205
VLAN205
172.11.11.2/24
172.22.22.2/24
P1
PE1:1.1.1.1/32
10.1.1.2/24
20.1.1.1/24
CE1
CE2
172.12.12.2/24
PC1
PC2
CE4
PC4
CE3
172.21.21.2/24
PC3
192.168.11.10
192.168.21.10
192.168.12.10
192.168.22.10
P1:3.3.3.3/32
VLAN201
PE2:2.2.2.2/32
10.1.1.2/24
20.1.1.1/24
AS 100
CE1
CE2
172.12.12.2/24
PC1
PC2
CE4
PC4
CE3
172.21.21.2/24
PC3
192.168.11.10
192.168.21.10
192.168.12.10
192.168.22.10
AS 200
172.21.21.1/24
172.11.11.1/24
10.1.1.1/24
20.1.1.2/24
172.12.12.1/24
172.22.22.1/24
98.98.98.1/24
98.98.98.2/24
P2:4.4.4.4/32
172.11.11.2/24
172.22.22.2/24
VLAN205
VLAN202
VLAN204
VLAN203
VLAN201
VLAN201
VLAN201
VLAN201
VLAN206
VLAN206
P1
VLAN205
10.1.1.2/24
20.1.1.1/24
CE1
CE2
172.12.12.2/24
PC1
PC2
CE4
PC4
CE3
172.21.21.2/24
PC3
192.168.11.10
192.168.21.10
192.168.12.10
192.168.22.10
172.21.21.1/24
172.11.11.1/24
10.1.1.1/24
20.1.1.2/24
172.12.12.1/24
172.22.22.1/24
98.98.98.1/24
98.98.98.2/24
VLAN205
VLAN205
172.11.11.2/24
172.22.22.2/24
P1
PE1:1.1.1.1/32
10.1.1.2/24
20.1.1.1/24
CE1
CE2
172.12.12.2/24
PC1
PC2
CE4
PC4
CE3
172.21.21.2/24
PC3
192.168.11.10
192.168.21.10
192.168.12.10
192.168.22.10
P1:3.3.3.3/32
VLAN201
PE2:2.2.2.2/32
10.1.1.2/24
20.1.1.1/24
AS 100
CE1
CE2
172.12.12.2/24
PC1
PC2
CE4
PC4
CE3
172.21.21.2/24
PC3
192.168.11.10
192.168.21.10
192.168.12.10
192.168.22.10
AS 200
172.21.21.1/24
172.11.11.1/24
10.1.1.1/24
20.1.1.2/24
172.12.12.1/24
172.22.22.1/24
98.98.98.1/24
98.98.98.2/24
P2:4.4.4.4/32
172.11.11.2/24
172.22.22.2/24
VLAN205
VLAN202
VLAN204
VLAN203
VLAN201
VLAN201
VLAN201
VLAN201
VLAN206
VLAN206
Figure 37-13
Network diagram for ASBR
III. Configuration procedure
1) Configure
PE1
Enable MPLS and LDP.
[PE1] mpls lsr-id 1.1.1.1
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
Configure the VLAN interface connecting CE.
[PE1] vlan 201
[PE1-vlan201] port gigabitethernet 2/1/1
[PE1-vlan201] quit
[PE1] vlan 202
[PE1-vlan202] port gigabitethernet 2/1/2
[PE1-vlan202] quit
Configure loopback interface.
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 1.1.1.1 255.255.255.255
Configure VPN-instance.
[PE1] ip vpn-instance vpna
[PE1-vpn-vpna] route-distinguisher 100:1
[PE1-vpn-vpna] vpn-target 100:1 both
[PE1] ip vpn-instance vpnb
[PE1-vpn-vpnb] route-distinguisher 100:2
[PE1-vpn-vpnb] vpn-target 100:2 both
Configure VLAN interface connecting PE1 and P1.