isis cost
Syntax
View
Parameters
Description
Examples
isis dis-name
Syntax
View
Parameters
isis cost value [ level-1 | level-2 ]
undo isis cost [ level-1 | level-2 ]
Interface view
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.
Use the
command to set the link cost of an interface for SPF calculation.
isis cost
Use the
undo isis cost
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.
# 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 symbolic-name
undo isis dis-name
Interface view
symbolic-name: Specifies a name for the local LAN, a string of 1 to 64 characters.
command to restore the default.
1065