area default-metric

Syntax

area <AREA-ID> default-metric <METRIC>

no area <AREA-ID> default-metric

Description

Sets the cost of default-summary LSAs announced to the stub/nssa areas.

The no form of this command resets the cost of the default-summary LSAs announced to stub/nssa areas to the default of 1.

Command context

config-ospfv3

Parameters

<AREA-ID>
Specifies the area ID is one of the following formats.
  • Area ID in IPv4 address format. Format: A.B.C.D

  • Area ID as a decimal value. Range: 0-4294967295

default-metric <METRIC>

Specifies the default metric of default-summary LSAs announced to the stub/nssa areas, to the specified value. Default: 1. Range: 0-16777215.

Authority

Administrators

Examples

Setting cost for default LSA summary:

switch(config)# router ospfv3 1
switch(config-ospfv3-1)# area 1 default-metric 2
switch(config-ospfv3-1)# area 1.1.1.1 default-metric 2

Setting cost for default LSA summary to default:

switch(config)# router ospfv3 1
switch(config-ospfv3-1)# no area 1 default-metric
switch(config-ospfv3-1)# no area 0.0.0.1 default-metric