(Optional) Configuring Costs of Default Routes Sent to Stub Areas
Procedure
- Run system-view
The system view is displayed.
- Run ospf [ process-id ]
The OSPF process view is displayed.
- Run area area-id
The OSPF area view is displayed.
- Run stub [ no-summary ]
The current area is configured as a stub area.
- Run default-cost cost
The cost of the default route sent to the stub area is set.
The parameter cost specifies the cost of the Type 3 default route sent to the stub area. The default cost is 1.
This command applies only to the ABR that is connected to a stub area.
- Run commit
The configuration is committed.