R3303-HP HSR6800 Routers MPLS Configuration Guide
380
Figure 98 Network diagram
Configuration procedure
Assume that the system name of the MCE device is MCE, the system names of the edge routers of VPN
1 and VPN 2 are VR1 and VR2, respectively, and the system name of PE 1 is PE1.
1. Configure VPN instances on the MCE and PE 1:
# On the MCE, configure VPN instances vpn1 and vpn2, and specify an RD and route targets for
each VPN instance.
<MCE> system-view
[MCE] ip vpn-instance vpn1
[MCE-vpn-instance-vpn1] route-distinguisher 10:1
[MCE-vpn-instance-vpn1] vpn-target 10:1
[MCE-vpn-instance-vpn1] quit
[MCE] ip vpn-instance vpn2
[MCE-vpn-instance-vpn2] route-distinguisher 20:1
[MCE-vpn-instance-vpn2] vpn-target 20:1
[MCE-vpn-instance-vpn2] quit
# Bind interface GigabitEthernet 3/1/1 with VPN instance vpn1 and configure an IP address for
the interface.
[MCE] interface gigabitethernet 3/1/1
[MCE-GigabitEthernet3/1/1] ip binding vpn-instance vpn1
[MCE-GigabitEthernet3/1/1] ip address 10.214.10.3 24
CE
VPN 1
Site 2
CE
VPN 2
Site 1
PE 1
PE 3
PE 2
VPN 2
192.168.10.0
VR 2
VPN 1
192.168.0.0
VR 1
MCE
GE3/1/1
10.214.10.3/24
GE3/1/1.1
20.1.1.2/24
GE3/1/3.2
30.1.1.1/24
GE3/1/2
10.214.20.3/24
GE3/1/1
192.168.0.1/24
GE3/1/2
10.214.10.2/24
GE3/1/3.1
20.1.1.1/24
GE3/1/1.2
30.1.1.2/24
GE3/1/1
10.214.20.2/24
GE3/1/2
192.168.10.1/24