DGS-6604 m area default-cost (IPv6)
CLI Reference Guide
40
area default-cost (IPv6)
To set the summary-default cost of a stub area, use the area default-cost
command. To disable this function, use the no form of this command.
area AREA-ID default-cost COST
no area AREA-ID default-cost
Default Disabled
Command Mode Router configuration
Usage Guideline This command is used only on an Area Border Router (ABR) attached to a stub
area. In all routers and access servers attached to the stub area, the area should
be configured as a stub area using the stub option of the area command. Use the
area default-cost command 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.
Examples The following example assigns a default cost of 10 to stub area 1.
Syntax Description
AREA-ID Identifier of the area about which routes are to be summarized. It can be
specified as either a decimal value or as an IPv4 prefix.
COST (Optional) Metric or cost for this summary route, which is used during the OSPF
SPF calculation to determine the shortest paths to the destination. The value can
be 0 to 16777215.
Switch > enable
Switch # configure terminal
Switch (config) # router ipv6 ospf
Switch (config-router) # area 1 stub
Switch (config-router) # area 1 default-cost 10