-152
Example
This example creates a summary address for all area routes in the range of
10.2.x.x.

area default-cost

Use this command to specify a cost for the default summary route sent
into a stub or not-so-stubby area (NSSA) from an Area Border Router
(ABR). Use the no form to remove the assigned default cost.
Syntax
area area-id default-cost cost
no area area-id default-cost
area-id - Identifier for a stub or NSSA, in the form of an IP address.
cost - Cost for the default summary route sent to a stub or NSSA.
(Range: 0-65535)
Command Mode
Router Configuration
Default Setting
1
Command Usage
• If you enter this command for a normal area, it will changed to a stub.
• If the default cost is set to “0,” the router will not advertise a default
route into the attached stub or NSSA.
Example
Related Commands
area stub (3-156)
Console(config-router)#area 10.2.0.0 range 10.2.0.0 255.255.0.0 advertise
Console(config-router)#
Console(config-router)#area 10.3.9.0 default-cost 10
Console(config-router)#