Multicast and Routing Guide K/KA/KB.15.15

Example 81 Setting a summary cost to an area
This example shows how to set the summary cost to 100 for area 10 with an address range of
10.10.0.0/16.
HP Switch(ospf)# area 10 range 10.10.0.0/16 type summary cost 100
Example 82 Using a standard summary cost for an area
This example shows how to use the standard method for determining the summarized cost.
HP Switch(ospf)# area 10 range 10.10.0.0/16 type summary
You must execute write mem to preserve these settings across reboots.
Example 83 Setting a summary cost to an NSSA area
To set the summary cost for NSSA area 20 address range 10.20.0.0/16 to 100 with a default
metric-type of type2, enter the following command.
HP Switch(ospf)# area 20 range 10.20.0.0/16 type nssa cost 100
Example 84 Setting a summary cost and metric-type to an NSSA area
To set the summary cost and metric-type for NSSA area 20 address range 10.20.0.0/16 to 100,
enter the following command.
HP Switch(ospf)# area 10 range 10.10.0.0/16 type nssa cost 100 metric-type type1
Example 85 Using the RFC standard ethod to determine the summarized cost to an NSSA area
To change the configuration so that the 10.20.0.0/16 range uses the RFC standard method for
determining the summarized cost, enter the following command.
HP Switch(ospf)# area 10 range 10.10.0.0/16 type nssa
You must execute write mem to preserve these settings across reboots.
Example 86 Output showing settings for summary costs
The show ip ospf command displays information about summary costs. An entry of auto
indicates that the cost is calculated by the OSPF standard for summarized networks.
HP Switch(config)# show ip ospf
OSPF Configuration Information
:
:
Currently defined address ranges:
Area ID LSA Type IP Network Network Mask Advertise Cost
--------------- ---------- --------------- --------------- --------- --------
0.0.0.10 Summary 10.10.0.0 255.255.0.0 yes auto
0.0.0.20 NSSA 10.20.0.0 255.255.0.0 yes auto
0.0.0.30 Summary 10.30.0.0 255.255.0.0 no 16777215
Allowing or blocking advertisement of a range of internal routes available in an area
by an ABR
Example 87 Defining a range of internal routes to advertise to the backbone
The commands in this example define the same 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(ospf)# area 30 range 10.0.0.0/8
HP Switch(ospf)# area 30 range 10.0.0.0/8 type summary
Configuring ranges on an ABR to reduce advertising to the backbone 153