H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 4 Integrated IS-IS Configuration Commands
4-19
Examples
# Set the level-1 attributes for VLAN-interface 10 to prohibit sending and receiving
level-2 Hello packets when the interface is connected to a non-backbone router within
the same area.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis enable
[H3C-Vlan-interface10] isis circuit-level level-1
4.1.20 isis cost
Syntax
isis cost value [ level-1 | level-2 ]
undo isis cost [ level-1 | level-2 ]
View
Interface view
Parameters
value: Specifies the link cost value for corresponding SPF calculation, in the range of 0
to 63. It is 10 by default.
level-1: Indicates the link cost corresponding to Level-1 layer.
level-2: Indicates the link cost corresponding to Level-2 layer.
Description
Use the isis cost command to set the interface link cost for SPF calculation.
Use the undo isis cost command to resume the default link cost value.
If neither level-1 nor level-2 is assigned in the configuration, both level-1 and level-2
are configured by default.
You are recommended to configure a proper link cost for each interface; otherwise, the
link cost for IS-IS route calculation may not reflect the correct cost.
Examples
# Set the Level-2 link cost to 5 for VLAN-interface10.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Vlan-interface 10
[H3C] interface Vlan-interface 10
[H3C-Vlan-interface10] isis cost 5 level-2