IPv6 Configuration Guide K/KA/KB.15.15

type2
Specifies the external metric for an external route.
Default: type2
Example 137 Modifying the redistribution metric type
To change from the default setting on an ASBR to type 1, enter the following command:
HP Switch(config)# router ospf3 default-metric-type type1
Enabling redistribution of loopback IPv6 addresses in OSPFv3 when the addresses
are not assigned to an OSPFv3 area
Enter the redistribute connected command as described in “Enabling route redistribution
(page 215).
Example 138 Enabling redistribution of loopback IPv6 addresses
In the following configuration, loopback interface 6 is configured with IPv6 address
2001:db8:1::127 and is assigned to OSPFv3 area 0.0.0.1, and thus is advertised as an OSPFv3
IntraArea route, regardless of whether route redistribution is enabled.
In the same configuration, loopback interface 2 is configured with IPv6 address 2001:db8:2:133
but is not assigned to an OSPFv3 area. As a result, it will be advertised to neighbors as an External
route, and only if it is a "permitted" route in a route-map invoked by the redistribute command.
Example 139 Assigning loopback IPv6 addresses to OSPFv3 areas
HP Switch(config)# interface loopback 6
HP Switch(lo-6)# ipv6 address 2001:db8:1:127
HP Switch(lo-6)# ipv6 ospf3 area 1
HP Switch(lo-6)# interface loopback 2
HP Switch(lo-2)# ipv6 address 2001:db8:2:133
1
HP Switch(lo-2)# exit
1
Assigns an IPv6 address to loopback interface 2, but does not
assign the interface to an OSPFv3 area
Verifying the OSPFv3 redistribution of loopback interfaces
Enter the show ipv6 route ospf3 command from a neighboring router to display the IPv6
route table entries for detected OSPFv3 routes.
Modifying the redistribution metric type 217