isis reverse-metric

Configures the reverse metric value on a single Intermediate System-to-Intermediate System (IS-IS) interface.

Syntax

isis reverse-metric [ value ] [ te-def-metric ] [ whole-lan ]
no isis reverse-metric [ value ] [ te-def-metric ] [ whole-lan ]

Command Default

Disabled.

Parameters

value
Specifies the reverse metric value in metric style. The narrow metric range is from 1 through 63. The wide metric range is from 1 through 16777215. The default value is 16777214 irrespective of the metric style configured.
whole-lan
Specifies that the configured reverse metric value affects the entire LAN.
te-def-metric
Specifies that the device sends a traffic engineering (TE) default metric sub-type-length-value (TLV) within the reverse metric TLV.

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

When the reverse metric value is configured, the local LSP is updated with the sum of the default metric and the reverse metric value. When the IS-IS neighbor routing device receives the reverse metric value through the IS hello, the neighbor router updates the cost to reach the original IS-IS router with the sum of default metric and the reverse metric value. This helps in shifting traffic to the other alternate paths.

If the whole-lan option is not enabled, the reverse metric value affects only the neighbor router. The whole-lan option takes effect only on the multi-access LAN. IS-IS point-to-point interfaces are not affected when the whole-lan option is enabled.

The no form of the command removes the entire reverse metric configuration. The no form of the command specified with the configured value resets the metric value to the default value of 16777214.

Examples

The following example configures a reverse metric value of 40 on an Ethernet interface. The whole-lan option is enabled to include the entire LAN.

device#configure terminal
device(config)# interface ethernet 2/2
device(conf-if-eth-2/2)# isis reverse-metric 40 whole-lan