1040
C
74: IS-IS C
HAPTER
Description
Related commands:
Examples
cost-style
Syntax
View
Parameters
Description
C
ONFIGURATION
OMMANDS
level-2: Applies the link cost to Level-2.
Use the
circuit-cost
Use the
undo circuit-cost
By default, the global link cost is not configured.
If no keyword is specified, the specified cost applies to Level-1-2.
The preference of interface cost from high to low is: the cost set by the isis cost
command, the global cost set by the circuit-cost command, the cost
automatically calculated (auto-cost) and the default cost.
isis cost, cost-style.
# Set the global Level-1 link cost of IS-IS process 1 to 11.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] circuit-cost 11 level-1
cost-style { narrow | wide | wide-compatible | { compatible | narrow-compatible }
[ relax-spf-limit ] }
undo cost-style
IS-IS view
narrow: Specifies to receive and send only packets of narrow cost style (The
narrow cost ranges from 0 to 63).
wide: Specifies to receive and send only packets of wide cost style (The wide cost
ranges from 0 to 16777215).
compatible: Specifies to receive and send both wide and narrow style packets.
narrow-compatible: Specifies to receive both narrow and wide style packets, but
send only narrow style packets.
wide-compatible: Specifies to receive both narrow and wide style packets, but
send only wide style packets.
relax-spf-limit: Specifies to allow receiving routes with cost bigger than 1023. If
this keyword is not configured, any route with cost bigger than 1023 will be
discarded. This keyword is only available when keywords compatible and
narrow-compatible are included.
Use the
cost-style
command to set a global link cost.
command to restore the default.
command to set the cost style of packets.