circuit-cost

Use circuit-cost to set a global IS-IS link cost.

Use undo circuit-cost to remove the configuration.

Syntax

circuit-cost cost-value [ level-1 | level-2 ]

undo circuit-cost [ level-1 | level-2 ]

Default

No global link cost is configured.

Views

IS-IS view

Predefined user roles

network-admin

Parameters

cost-value: Specifies the link cost value. The value range varies by cost style.

level-1: Applies the link cost to Level-1.

level-2: Applies the link cost to Level-2.

Usage guidelines

If no level is specified, the specified cost applies to both Level-1 and Level-2.

Examples

# Set the global Level-1 link cost to 11 for IS-IS process 1.

<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] circuit-cost 11 level-1

Related commands

cost-style

isis cost