reverse-metric

Configures the reverse metric value at the Intermediate System-to-Intermediate System (IS-IS) router level.

Syntax

reverse-metric [ value ] [ te-def-metric ] [ whole-lan ]
reverse-metric tlv-type [ value ]
no reverse-metric [ value ] [ te-def-metric ] [ whole-lan ]
no reverse-metric tlv-type [ value ]

Command Default

The reverse-metric command is disabled by default.

Parameters

reverse-metric
Specifies the reverse metric parameter at the IS-IS router level.
value
Specifies the reverse metric value in metric style. The metric style consists of narrow or wide 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.
te-def-metric
Specifies that the device sends a traffic engineering (TE) default metric sub-type-length-value (TLV) within the reverse-metric TLV.
whole-lan
Specifies that the configured reverse metric value affects the entire LAN.
tlv-type value
Specifies the TLV type for the reverse metric value. The default value is 254.

Modes

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

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

The whole-lan option only takes effect on the multi-access LAN. IS-IS point-to-point interfaces are not affected when the whole-lan option is used.

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

Examples

The following example changes the reverse metric value for the entire LAN to 50.

device# configure terminal
device(config)# router isis 
device(config-isis-router)# reverse-metric 50 whole-lan

The following example configures the reverse metric TLV type in the range of unassigned IS-IS TLV values.

device# configure terminal
device(config)# router isis  
device(config-isis-router)# reverse-metric tlv-type 230