A SERVICE OF

logo

1065
isis cost
Syntax isis cost value [ level-1 | level-2 ]
undo isis cost [ level-1 | level-2 ]
View Interface view
Parameters value: Specifies a cost for SPF calculation on a specified level. The default is 10.
The range of cost value differs according to different cost types.
For types narrow, narrow-compatible and compatible: The cost value
ranges from 1 to 63.
For types wide and wide-compatible: The cost value ranges from 1 to
16777215.
level-1: Applies the cost to Level-1.
level-2: Applies the cost to Level-2.
Description Use the
isis cost command to set the link cost of an interface for SPF calculation.
Use the undo isis cost command to restore the default.
No cost is configured by default.
If neither level-1 nor level-2 is included, the cost applies to both level-1 and
level-2.
You are recommended to configure a proper link cost for each interface for
optimal route selection.
Relate command: circuit-cost.
Examples # Configure the Level-2 link cost as 5 for Serial 2/0.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] isis cost 5 level-2
isis dis-name
Syntax isis dis-name symbolic-name
undo isis dis-name
View Interface view
Parameters symbolic-name: Specifies a name for the local LAN, a string of 1 to 64 characters.