Use this command to set the cost value for the default route that is sent into a stub area by an Area Border Router (ABR).
area-id | Specifies the stub area. Valid values are decimal values or IP addresses. |
cost | Specifies a cost value for the summary route that is sent into a stub area by default. Valid values: 0 to 65535. |
None.
OSPF router configuration.
The use of this command is restricted to ABRs attached to stub areas.
The “no” form of this command removes the cost value from the summary route that is sent into the stub area.
This example shows how to set the cost value for stub area 10 to 99:
System(rw-config)->router ospf 1 System(rw-config-ospf-1)->area 10 default-cost 99