Owner's Manual

242 OSPF Commands
www.dell.com | support.dell.com
User Guidelines
The
router ospf
area stub
command must be configured on all routers and access servers in
the stub area. Use the
area
router configuration command with the
default-cost
option to
specify the default internal router cost sent into a stub area by an ABR.
There are two stub area router configuration commands: the
stub
and
default-cost
options of
the
area
router configuration command. In all routers attached to the stub area, the area
should be configured as a stub area using the
area
command
stub
option. Use the
default-cost
option only on an ABR attached to the stub area. The
default-cost
option provides the metric
for the summary default route generated by the ABR into the stub area.
If a question mark is specified at the end of the
router ospf area stub
command, the same
hint is displayed twice at the prompt line.
Example
The following example defines an OSPF stub area 7.7.7.7.
router ospf area default-cost
The
router ospf area default-cost
global configuration command specifies a cost for the default
summary route sent into a stub area. To remove the assigned default route cost, use the
no
form of
this command.
Syntax
router ospf area
area-id
default-cost
cost
no router ospf area
area-id
default-cost
area-id
—Area associated with the OSPF address range. It can be specified as either a
decimal value or as an IP address.
cost
—Cost for the default summary route used for a stub area. (Range: 1 - 16777215)
Default Configuration
A default value is automatically calculated by the router according to RFC 1850.
Command Mode
Global Configuration mode
User Guidelines
A default cost can be defined for an area, only after it has been defined. To define an area, use
the
ospf area
command.
Console (config)# router ospf area 7.7.7.7 stub