isis metric

Configures the value of an Intermediate System-to-Intermediate System (IS-IS) metric.

Syntax

isis metric { level-1 | level-2 } metric
no metric { level-1 | level-2 } metric

Command Default

The default is 10.

Parameters

level-1
Specifies Level 1 only.
level-2
Specifies Level 2 only.
metric
Specifies the metric. Valid values range from 1 through 63 for the narrow metric style (the default metric style for IPv4 ISIS). Valid values range from 1 through 16777215 for the wide metric style (the default metric style for IPv4 ISIS).

Modes

Interface subtype configuration mode

Usage Guidelines

IS-IS is supported on the Extreme 8820, SLX 9740, SLX 9640, and SLX 9540 devices only.

Each IS-IS interface has a separate metric value.

The device applies the interface-level metric to routes originated on the interface and when calculating routes. The device does not apply the metric to link-state information received from one intermediate system and flooded to other intermediate systems.

If the metric value you want to use is higher than 63 but you have not changed the metric style to wide, you must change the metric style first, and then set the metric. The IS-IS neighbors that receive the advertisements must also be enabled to receive wide metrics.

The no form of the command resets the metric value the default value of 10.

Examples

The following example changes the metric for an Ethernet interface, specifying Level 1 packets.

device# configure terminal
device(config)# interface ethernet 1/1
device(conf-if-eth-1/1)# isis metric 25 level-1