area ip-address|number default-cost

This command sets the cost of default-summary LSAs announced to stubby areas.

Syntax

area ip-address <a.b.c.d> default-cost <0-16777215> 
area number number default-cost <0-16777215>
no area ip-address <a.b.c.d> default-cost <0-16777215> 

Command

Description

a.b.c.d

Defines the OSPF area in IP address format.

number

Defines the OSPF area ID as a decimal value  in the range of 0 – 4294967295.

<0-16777215>

Defines the stub's advertised default summary cost.

Default

NA

Command Mode

Privileged User

Example

This example sets the cost of default-summary LSAs announced to stubby areas.

(config-data)# router ospf     
(conf-router)# area number 2000 default-cost 1000