default-metric (IS-IS)

Sets the default redistribution metric value for the Intermediate System-to-Intermediate System (IS-IS) routing protocol.

Syntax

default-metric value
no default-metric

Command Default

The default metric value is 0.

Parameters

value
Specifies the default metric value. Valid values range from 0 through 65535. The default is 0.

Modes

IS-IS address-family IPv4 unicast configuration mode

IS-IS address-family IPv6 unicast configuration mode

Usage Guidelines

IS-IS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

The no form of the command resets the default metric value to the default value of 0.

Examples

The following example sets the default metric value to 20 for the IPv4 unicast address family.

device# configure terminal
device(config)# router isis
device(config-isis-router)# address-family ipv4 unicast
device(config-router-isis-ipv4u)# default-metric 20

The following example sets the default metric value to 40 for the IPv6 unicast address family.

device# configure terminal
device(config)# router isis
device(config-isis-router)# address-family ipv6 unicast
device(config-router-isis-ipv6u)# default-metric 40