5-4
z
For styles
wide
and
wide-compatible
, the cost value ranges from 0 to 16777215.
level-1
: Applies the link cost to Level-1.
level-2
: Applies the link cost to Level-2.
Description
Use the
circuit-cost
command to set a global IS-IS link cost.
Use the
undo circuit-cost
command to restore the default.
By default, no global link cost is configured.
If no level is specified, the specified cost applies to both Level-1 and Level-2.
Related commands:
isis cost
,
cost-style
.
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
cost-style
Syntax
cost-style
{
narrow
|
wide
|
wide-compatible
| {
compatible
|
narrow-compatible
}
[
relax-spf-limit
] }
undo cost-style
View
IS-IS view
Default Level
2: System level
Parameters
narrow
: Receives and sends only narrow cost style packets (The narrow cost ranges from 0 to 63).
wide
: Receives and sends only wide cost style packets (The wide cost ranges from 0 to 16777215).
compatible
: Receives and sends both wide and narrow cost style packets.
narrow-compatible
: Receives both narrow and wide cost style packets, but sends only narrow cost
style packets.
wide-compatible
: Receives both narrow and wide cost style packets, but sends only wide cost style
packets.
relax-spf-limit
: Allows receiving routes with a cost greater than 1023. If this keyword is not specified,
any route with a cost bigger than 1023 will be discarded. This keyword is only available when
compatible
or
narrow-compatible
is included.
Description
Use the
cost-style
command to set a cost style.
Use the
undo cost-style
command to restore the default.
Only narrow cost style packets can be received and sent by default.
Related commands:
isis cost
,
circuit-cost
.