HP MSR2000/3000/4000 Router Series MPLS Configuration Guide

275
[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
Verifying the configuration
# On PE 1, display the routing table of VPN instance vpn1. The output shows that PE 1 has learned the
private route of VPN1 through OSPF.
[PE1] display ipv6 routing-table vpn-instance vpn1
Destinations : 6 Routes : 6
Destination: ::1/128 Protocol : Direct
NextHop : ::1 Preference: 0
Interface : InLoop0 Cost : 0
Destination: 2001:2::/64 Protocol : Direct
NextHop : :: 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
Destination: FF00::/8 Protocol : Direct
NextHop : :: Preference: 0
Interface : NULL0 Cost : 0
# The following output shows that PE 1 has learned the private route of VPN 2 through OSPFv3:
[PE1] display ipv6 routing-table vpn-instance vpn2