Use
undo circuit-cost
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
and
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
cost-style
to set a cost style.
Use
undo cost-style
to restore the default.
Only narrow cost style packets can be received and sent by default.
Related commands:
isis cost
and
circuit-cost
.
Examples
# Configure the router to send only narrow cost style packets, but receive both narrow and wide cost
style packets.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] cost-style narrow-compatible
129