default-metric <metric-value>

Syntax

default-metric <metric-value>

no default-metric 

Description

Sets the default metric for redistributed routes in the OSPFv3.

The no form of this command sets the default metric to be used for redistributed routes into OSPFv3 to the default of 25.

Command context

config-ospfv3

Parameters

<metric-value>

Specifies the default metric value to use for redistributed routes. Default: 25. Range: 1-1677214.

Authority

Administrators

Examples

Setting default metric for redistributed routes:

switch(config)# router ospfv3 1
switch(config-ospfv3-1)# default-metric 36

Setting default metric for redistributed routes to the default:

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