Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 4 IS-IS Configuration Commands
4-32
4.1.27 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.
z
For types
narrow
,
narrow-compatible
and
compatible
: The cost value ranges
from 1 to 63.
z
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 VLAN-interface10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] isis cost 5 level-2
4.1.28 isis dis-name
Syntax
isis dis-name
symbolic-name
undo isis dis-name