186
circuit-cost
Use
circuit-cost
to set a global IS-IS link cost.
Use
undo circuit-cost
to remove the configuration.
Syntax
circuit-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
value
: Specifies the link cost value. The value range varies by cost style.
•
For styles
narrow
,
narrow-compatible
,
and
compatible
, the cost value is in the range of 0 to 63.
•
For styles
wide
and
wide-compatible
, the cost value is in the range of 0 to 16777215.
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 of IS-IS process 1 to 11.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] circuit-cost 11 level-1
Related commands
•
cost-style
•
isis cost
cost-style
Use
cost-style
to set a cost style.
Use
undo cost-style
to restore the default.
Syntax
cost-style
{
narrow
|
wide
|
wide-compatible
| {
compatible
|
narrow-compatible
} [
relax-spf-limit
] }
undo cost-style