isis metric

Use this command to configure the cost of using the interface.

Syntax

isis metric cost [level-1 | level-1-2 | level-2]
no isis metric cost [level-1 | level-1-2 | level-2]

Parameters

cost Specifies the cost of using the interface. Valid values are 1 - 16777215. The default value is 10.
level-1 (Optional) Specifies that the configured cost is applied to level 1 for the interface.
level-1-2 (Optional) Specifies that the configured cost is applied to both level 1 and level 2 for the interface (Default).
level-2 (Optional) Specifies that the configured cost is applied to level 2 for the interface.

Defaults

If an IS-IS level is not specified, the level type defaults to both level 1 and level 2.

Mode

Interface configuration.

Usage

The “no” form of this command resets the interface cost to the default value of 10.

Example

This example shows how to configure the cost of VLAN 100 to 15 for level 1:

System(rw)->configure
System(rw-config)->interface vlan 100
System(rw-config-intf-vlan.0.100)->isis metric 15 level-1
System(rw-config-intf-vlan.0.100)->