Configuring is-is link cost – H3C Technologies H3C S12500-X Series Switches User Manual
Page 147
133
260B
Configuring IS-IS link cost
The IS-IS cost of an interface is determined in the following order:
1.
IS-IS cost specified in interface view.
2.
IS-IS cost specified in system view.
The cost is applied to the interfaces associated with the IS-IS process.
3.
Automatically calculated cost.
If the cost style is wide or wide-compatible, IS-IS automatically calculates the cost using the formula:
Interface cost = (Bandwidth reference value / Expected interface bandwidth) × 10, in the range of
1 to 16777214. For other cost styles,
1041H
Table 6
applies.
Configure the expected bandwidth of an interface with the bandwidth command. For more
information, see Interface Command Reference.
Table 6 Automatic cost calculation scheme for cost styles other than wide and wide-compatible
Interface bandwidth
Interface cost
≤ 10 Mbps
60
≤ 100 Mbps
50
≤ 155 Mbps
40
≤ 622 Mbps
30
≤ 2500 Mbps
20
> 2500 Mbps
10
If none of the above costs is used, a default cost of 10 applies.
546B
Configuring an IS-IS cost for an interface
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IS-IS view.
isis [ process-id ] [ vpn-instance
vpn-instance-name ]
N/A
3.
(Optional.) Specify an
IS-IS cost style.
cost-style { narrow | wide | wide-compatible
| { compatible | narrow-compatible }
[ relax-spf-limit ] }
By default, the IS-IS cost type
is narrow.
4.
Return to system view.
quit
N/A
5.
Enter interface view.
interface interface-type interface-number
N/A
6.
(Optional.) Specify a cost
for the IS-IS interface.
isis cost value [ level-1 | level-2 ]
By default, no cost for the
interface is specified.
547B
Configuring a global IS-IS cost
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IS-IS view.
isis [ process-id ] [ vpn-instance vpn-instance-name ] N/A