R2511-HP MSR Router Series MPLS Configuration Guide(V5)
306
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 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 Ethernet 1/1 to VPN instance vpn1 and configure an IPv6 address for the
interface.
[MCE] interface ethernet 1/1
[MCE-Ethernet1/1] ip binding vpn-instance vpn1
[MCE-Ethernet1/1] ipv6 address 2001:1::1 64
[MCE-Ethernet1/1] quit
# Bind interface Ethernet 1/2 to VPN instance vpn2, and configure an IPv6 address for the
interface.
[MCE] interface ethernet 1/2
[MCE-Ethernet1/2] ip binding vpn-instance vpn2
[MCE-Ethernet1/2] ipv6 address 2002:1::1 64
[MCE-Ethernet1/2] quit
# On PE 1, configure VPN instances vpn1 and vpn2, and specify an RD and route targets for each
VPN instance.
<PE1> system-view
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] route-distinguisher 30:1
[PE1-vpn-instance-vpn1] vpn-target 10:1
[PE1-vpn-instance-vpn1] quit
[PE1] ip vpn-instance vpn2
[PE1-vpn-instance-vpn2] route-distinguisher 40:1
[PE1-vpn-instance-vpn2] vpn-target 20:1
[PE1-vpn-instance-vpn2] quit
2. Configure routing between the MCE and VPN sites:
The MCE is connected to VPN 1 directly, and no routing protocol is enabled in VPN 1. Therefore,
you can configure IPv6 static routes.
# On VR 1, assign IPv6 address 2001:1::2/64 to the interface connected to the MCE and
2012:1::2/64 to the interface connected to VPN 1. (Details not shown.)
# On VR 1, configure a default route with the next hop as 2001:1::1.
<VR1> system-view
[VR1] ipv6 route-static :: 0 2001:1::1










