IPv6 Configuration Guide K/KA/KB.15.15

Example 141 Assigning a Cost.
The cost parameter provides a way to define a fixed, user-assigned cost of an LSA type 3
summarized prefix.
To set the summary cost to 100 for area 10 with and address range of 10.10.0.0/ 16, enter the
command as shown:
HP Switch(ospf3)# area 10 range 10.10.0.0/16 type summary cost 100
To use the standard method for determining the summarized cost, enter the command as shown:
HP Switch(ospf3)# area 10 range 10.10.0.0/16 type summary
You must execute write mem in order to preserve these settings across reboots.
The show ip ospf3 command displays information about summary costs. An entry of “auto
indicates that the cost is calculated by the OSPF standard for summarized networks.
The no form removes the specified range from the configuration.
Example 142 ABR allowing or blocking advertisement of a range of internal routes available in
an area
Example of defining a range of internal routes to advertise to the backbone
The following command defines a range of internal routes in area 30 to summarize for injection
into the backbone area. (In this example, area 30 can be a normal or stub area, or an NSSA.)
HP Switch(ospf3)# area 30 range 2001:db8:1a/48 type inter-area
For the same range of routes, you can use either of the following commands to block injection of
a range of inter-area routes (inter-area-prefix-LSAs) from area 30 into the backbone.
HP Switch(ospf3)# area 30 range 2001:db8:1a/48 type inter-area
no-advertise
Examples of allowing or blocking a range of external routes available through an ASBR in an
NSSA follow.
This example applies only to external routes that can be advertised from an NSSA to the backbone.
HP Switch(ospf3)# area 7 range 2001:db8:5f:1::/64 type nssa
Defines the range of external routes in the Area 7 NSSA to advertise to the
backbone.
HP Switch(ospf3)# area 7 range 2001:db8:7a:15::/64 type nssa
no-advertise
Defines the range of external routes in the Area 7 NSSA to block from advertising
to the backbone.
Influencing route choices by changing the administrative distance default
Syntax:
distance [ external | inter-area | intra-area ] [ 1 - 255 ]
Used in the OSPFv3 configuration context (router ospf3) to globally reconfigure
the administrative distance priority for the specified route type.
1 is the highest priority; 255 is the lowest priority.
220 OSPFv3 Routing