R0106-HP MSR Router Series MPLS Configuration Guide(V7)
361
Destination: 2002:1::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 2012::/64 Protocol : RIPng
NextHop : FE80::20C:29FF:FE40:701 Preference: 100
Interface : GE2/1/2 Cost : 1
Destination: FE80::/10 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
Destination: FF00::/8 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
The output shows that the MCE has learned the private route of VPN 2 through RIPng. The MCE
maintains the routes of VPN 1 and VPN 2 in two different routing tables. In this way, routes from
different VPNs are separated.
3. Configure routing between the MCE and PE 1:
# The MCE is connected to PE 1 through subinterfaces. On the MCE, bind subinterface
GigabitEthernet 2/1/3.1 to the VPN instance vpn1.
[MCE] interface gigabitethernet 2/1/3.1
[MCE-GigabitEthernet2/1/3.1] ip binding vpn-instance vpn1
# Configure the subinterface to terminate VLAN 10.
[MCE-GigabitEthernet2/1/3.1] vlan-type dot1q vid 10
# Configure an IPv6 address for the subinterface.
[MCE-GigabitEthernet2/1/3.1] ipv6 address 2001:2::3 64
[MCE-GigabitEthernet2/1/3.1] quit
# On the MCE, bind subinterface GigabitEthernet 2/1/3.2 to the VPN instance vpn2.
[MCE] interface gigabitethernet 2/1/3.2
[MCE-GigabitEthernet2/1/3.2] ip binding vpn-instance vpn2
# Configure the subinterface to terminate VLAN 20.
[MCE-GigabitEthernet2/1/3.2] vlan-type dot1q vid 20
# Configure an IPv6 address for the subinterface.
[MCE-GigabitEthernet2/1/3.2] ipv6 address 2002:2::3 64
[MCE-GigabitEthernet2/1/3.2] quit
# On PE 1, bind subinterface GigabitEthernet 2/1/1.1 to the VPN instance vpn1.
[PE1] interface gigabitethernet 2/1/1.1
[PE1-GigabitEthernet2/1/1.1] ip binding vpn-instance vpn1
# Configure the subinterface to terminate VLAN 10.
[PE1-GigabitEthernet2/1/1.1] vlan-type dot1q vid 10
# Configure an IPv6 address for the subinterface.
[PE1-GigabitEthernet2/1/1.1] ipv6 address 2001:2::4 64
[PE1-GigabitEthernet2/1/1.1] quit
# On PE 1, bind subinterface GigabitEthernet 2/1/1.2 to the VPN instance vpn2.
[PE1] interface gigabitethernet 2/1/1.2