isis ipv6 metric

Configures the metric value for an interface under IPv6 Intermediate System-to-Intermediate System (IS-IS) MT.

Syntax

isis ipv6 metric { level-1 | level-2 } metric
no ipv6 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.
multiplier
Specifies the metric value. Valid values range from 1 through 16777215. The default is 10.

Modes

Interface subtype 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".

Each IS-IS interface has a separate metric value. In IPv6 IS-IS MT, different metrics are configured on an interface for IPv4 and IPv6. When the metric value is configured for an interface, it rebuilds the route LSP and triggers IPv6 IS-IS MT SPF calculation.

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

Examples

The following example changes the metric value for Level 1 packets for an Ethernet interface under IPv6 IS-IS MT to 25.

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

The following example changes the metric value for Level 2 packets for a loopback interface under IPv6 IS-IS MT to 60.

device# configure terminal
device(config)# interface loopback 1
device(config-Loopback-1)# isis ipv6 metric level-2 60