area default-metric
Syntax
area default-metric no area default-metric
Description
Sets the cost of default-summary LSAs announced to the stub/nssa areas.
Theno
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
-
-
Specifies the area ID is one of the following formats.
Area ID in IPv4 format (
x.x.x.x
), wherex
is a decimal number from 0 to 255.区域ID作为一个十进制值。范围:0到4294967295
-
default-metric
-
Specifies the default metric of default-summary LSAs announced to the stub/nssa areas, to the specified value. Default: 1. Range: 0 to 16777215.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Setting cost for default LSA summary:
switch(config)#router ospfv3 1switch(config-ospfv3-1)#area 1 default-metric 2switch(config-ospfv3-1)#area 1.1.1.1 default-metric 2
Setting cost for default LSA summary to default:
switch(config)#router ospfv3 1switch(config-ospfv3-1)#no area 1 default-metricswitch(config-ospfv3-1)#no area 0.0.0.1 default-metric