OSPF Commands
©2008 Allied Telesis Inc. All rights reserved.
30.4
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
area default-cost
This command specifies a cost for the default summary route sent into a stub or NSSA area.
The default-cost option provides the metric for the summary default route, generated by the
area border router, into the NSSA or stub area. Use this option only on an area border router
that is attached to the NSSA or stub area. Refer to the RFC 3101 for information on NSSA.
The
no
form of this command removes the assigned default-route cost.
Syntax
area <area_id> default-cost <0-16777215>
no area <area_id> default-cost
Mode
Router mode
Examples
To set the default cost to 10 in area 1 for the OSPF instance 100, use the commands:
awplus#
configure terminal
awplus(config)#
router ospf 100
awplus(config-router)#
area 1 default-cost 10
Related Commands
area nssa
area stub
Parameter
Description
<area_id>
The OSPF area that you are specifying the default summary route for.
Use one of the following formats:
A.B.C.D
OSPF Area ID in IPv4 address format.
<0-4294967295>
OSPF Area ID as 4 octets unsigned integer value.
default-cost
Indicates the cost for the default summary route used for a stub or NSSA
area.
Default:
1