area default-cost

Use this command to set the summary cost value for the default route that is sent into a stub area by an Area Border Router (ABR).

Syntax

area area-id default-cost cost
no area area-id default-cost

Parameters

area-id Specifies the stub area. Valid values are decimal values 0 - 4294967295 or dotted-quad notation.
cost Specifies a cost value for the summary route that is sent into a stub area by default. Valid values: 0 to 16777215. Default value is 10.

Defaults

None.

Mode

OSPFv3 router configuration.

Usage

The use of this command is restricted to ABRs attached to stub areas.

Use the show ipv6 ospf interface command to display the current area default cost.

The “no” form of this command removes the cost value from the summary route that is sent into the stub area.

Example

This example shows how to set the cost value for stub area 10 to 99:

System(rw-config)->ipv6 router ospf 1
System(rw-config-ospfv3)->area 10 default-cost 99