DGS-6604 m area default-cost
CLI Reference Guide
39
area default-cost
The cost of the default summary route sent into a not-so-stubby area (NSSA) or
a stub area is defined with the area default-cost command in router
configuration mode. The no area default-cost command is used to remove an
assigned default route cost.
area AREA-ID default-cost COST
no area AREA-ID default-cost
Default COST: 1
Command Mode Router configuration
Usage Guideline Use this command only on an Area Border Router (ABR) attached to a stub area
or NSSA.
The two stub area router configuration commands are area stub and area
default-cost are configured as follows: for all routers and access servers
attached to the stub area, the area should be configured as a stub area using the
area stub option; the area default-cost command is used only on an ABR
attached to the stub area. The default-cost provides the metric for the summary
default route generated by the ABR into the stub area.
Example The following example assigns a default cost of 20 to stub network 10.0.0.0
Verify the settings by entering the show ip ospf interface command.
Syntax Description
AREA-ID Identifier for the NSSA or stub area. The identifier is specified as either a decimal
value or as an IPv4 prefix. COST is not Optional.
COST COST for the default summary route used for a stub or NSSA. The acceptable
value is a 24-bit number (0~16777215).
Switch# configure terminal
Switch (config)# router ospf
Switch (config-router)# area 10.0.0.0 default-cost 20