The default-cost command sets the cost of the Type-3 default route that is transmitted to the stub or Not-So-Stubby Area (NSSA) by OSPF.
The undo default-cost command restores the default setting.
By default, the cost of the Type-3 default route transmitted to the stub or NSSA is 1.
| Parameter | Description | Value |
|---|---|---|
| cost | Specifies the cost of the Type-3 default route transmitted to the stub or NSSA by OSPF. | The value is an integer ranging from 0 to 16777214. |