R2511-HP MSR Router Series MPLS Configuration Guide(V5)
309
# Configure the IP address of the interface Loopback0 as 101.101.10.1 for the MCE and as
100.100.10.1 for PE 1. Specify the loopback interface address as the router ID for the MCE and
PE 1. (Details not shown.)
# Enable OSPFv3 process 10 on the MCE, bind the process to VPN instance vpn1, and
redistribute the IPv6 static route of VPN 1.
[MCE] ospfv3 10 vpn-instance vpn1
[MCE-ospf-10] router-id 101.101.10.1
[MCE-ospf-10] import-route static
[MCE-ospf-10] quit
# Enable OSPFv3 on interface Ethernet 1/3.1.
[MCE] interface ethernet 1/3.1
[MCE-Ethernet1/3.1] ospfv3 10 area 0.0.0.0
[MCE-Ethernet1/3.1] quit
# On PE 1, enable OSPFv3 process 10 and bind it to VPN instance vpn1.
[PE1] ospfv3 10 vpn-instance vpn1
[PE1-ospf-10] router-id 100.100.10.1
[PE1-ospf-10] quit
# Enable OSPFv3 on subinterface Ethernet 1/1.1.
[PE1] interface ethernet 1/1.1
[PE1-Ethernet1/1.1] ospfv3 10 area 0.0.0.0
[PE1-Ethernet1/1.1] quit
# On PE 1, display the routing table of VPN instance vpn1.
[PE1] 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:2::/64 Protocol : Direct
NextHop : 2001:2::4 Preference: 0
Interface : Eth1/1.1 Cost : 0
Destination: 2001:2::4/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 2012:1::/64 Protocol : OSPFv3
NextHop : FE80::200:5EFF:FE01:1C05 Preference: 15
Interface : Eth1/1.1 Cost : 10
Destination: FE80::/10 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
The output shows that PE 1 has learned the private route of VPN 1 through OSPFv3.










