R2511-HP MSR Router Series MPLS Configuration Guide(V5)
307
# On the MCE, configure an IPv6 static route to 2012:1::/64, specify the next hop as 2001:1::2,
and bind the static route to VPN instance vpn1.
[MCE] ipv6 route-static vpn-instance vpn1 2012:1:: 64 vpn-instance vpn1 2001:1::2
# Run RIPng in VPN 2. Configure RIPng process 20 for the VPN instance vpn2 on the MCE, so that
the MCE can learn the routes of VPN 2 and add them to the routing table of the VPN instance
vpn2.
[MCE] ripng 20 vpn-instance vpn2
# Advertise subnet 2002:1::/64.
[MCE] interface ethernet 1/2
[MCE-Ethernet1/2] ripng 20 enable
[MCE-Ethernet1/2] quit
# On VR 2, assign IPv6 address 2002:1::2/64 to the interface connected to the MCE. (Details not
shown.)
# On VR 2, configure RIPng and advertise subnets 2012::/64 and 2002:1::/64.
<VR2> system-view
[VR2] ripng 20
[VR2-ripng-20] quit
[VR2] interface ethernet 1/1
[VR2-Ethernet1/1] ripng 20 enable
[VR2-Ethernet1/1] quit
[VR2] interface ethernet 1/2
[VR2-Ethernet1/2] ripng 20 enable
[VR2-Ethernet1/2] quit
# On the MCE, display the routing tables of the VPN instances vpn1 and vpn2.
[MCE] display ipv6 routing-table vpn-instance vpn1
Routing Table :
Destinations : 5 Routes : 5
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 2001:1::/64 Protocol : Direct
NextHop : 2001:1::1 Preference: 0
Interface : Eth1/1 Cost : 0
Destination: 2001:1::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 2012:1::/64 Protocol : Static
NextHop : 2001:1::2 Preference: 60
Interface : Eth1/1 Cost : 0
Destination: FE80::/10 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
[MCE] display ipv6 routing-table vpn-instance vpn2
Routing Table :
Destinations : 5 Routes : 6
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0










