10G Core Routing Switch User Manual
陈泽科技有限公司
- - 49 - -
www.stephen-tele.com
Step 2
area
area-id
default-cost
value
Configure the cost of the default route transmitted by
OSPF to the STUB area
Step 3
exit
Return to global configuration mode.
Step 4
exit
Return to privileged EXEC mode.
Step 5
show ip ospf
Verify your entries.
Step 6
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.
To remove the configured STUB area, use
no area
area-id
stub [CR|no-summary]
OSPF configuration command.
To remove the cost of the default route to the STUB area, use
no area
area-id
default-cost
value
OSPF configuration
command.
By default, the STUB area is not configured, and the cost of the default route to the STUB area is 1.
Configuring the Route Summarization of OSPF Area
Route summary means that ABR can aggregate information of the routes of the same prefix and advertise only one
route to other areas. An area can be configured with multiple aggregate segments, thereby OSPF can summarize them.
When the ABR transmits routing information to other areas, it will generate Sum_net_Lsa (type-3 LSA) per network. If
some continuous networks exist in this area, you can use the abr-summary command to summarize these segments
into one segment. Thus, the ABR only needs to send an aggregate LSA, and all the LSAs in the range of the aggregate
segment specified by the command will not be transmitted separately.
Once the aggregate segment of a certain network is added to the area, all the internal routes of the IP addresses in the
range of the aggregate segment will no longer be separately advertised to other areas. Only the route summary of the
whole aggregate network will be advertised. But if the range of the segment is restricted by the keyword
"not-advertise", the route summary of this segment will not be advertised. This segment is represented by IP address
and mask.Route summarization can take effect only when it is configured on ABRs.
Beginning in OSPF configuration mode, follow these steps to configure the Route Summarization of OSPF Area.
Command
Purpose
Step 1
Area
area_id
range
ip-address
mask
[CR|not-advertise|advertise
|
substitute
]
Configure the Route Summarization of OSPF Area
Step 2
exit
Return to global configuration mode.
Step 3
exit
Return to privileged EXEC mode.
Step 4
show ip ospf
Verify your entries.
Step 5
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.
To cancel route summarization of OSPF Area, use
no summary-address
ip-address mask
OSPF configuration command.
By default, the inter-area routes will not be summarized.