C613-50170-01 Rev B
Command Reference for x510 Series
972
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
OSPF C
OMMANDS
AREA
DEFAULT
-
COST
area default-cost
Overview
This command specifies a cost for the default summary route sent into a stub or
NSSA area.
The
no
variant 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 Configuration
Usage
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.
Example
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
Parameter
Description
<
area-id
>
The OSPF area that you are specifying the default summary route
cost for. Use one of the following formats: This can be entered in
either dotted decimal format or normal decimal format.
<ip-addr>
OSPF Area ID expressed in IPv4 address
format A.B.C.D.
<0-4294967295>
OSPF Area ID expressed as a decimal number
within the range shown.
For example the values dotted decimal 0.0.1.2 and decimal 258
would both define the same area ID.
default-cost
Indicates the cost for the default summary route used for a stub or
NSSA area.
Default:
1