Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 4 IS-IS Configuration Commands
4-4
cost = (reference value/bandwidth)×10, and the maximum calculated cost is
16777214.
z
When the cost style is
narrow
,
narrow-compatible
, or
compatible
, if the
interface is a loopback interface, the cost value is 0; otherwise, the cost value is
automatically calculated as follows: if the interface bandwidth is in the range of 1 M
to 10 M, the interface cost is 60; if the interface bandwidth is in the range of 11 M to
100 M, the interface cost is 50; if the interface bandwidth is in the range of 101 M to
155 M, the interface cost is 40; if the interface bandwidth is in the range of 156 M to
622 M, the interface cost is 30; if the interface bandwidth is in the range of 623 M to
2500 M, the interface cost is 20, and the default interface cost of 10 is used for any
other bandwidths.
Related commands:
auto-cost enable
.
Examples
# Configure the bandwidth reference of IS-IS process 1 as 200 Mbps.
<Sysname> system-view
[Sysname] isis
[Sysname-isis-1] bandwidth-reference 200
4.1.4 circuit-cost
Syntax
circuit-cost
value
[
level-1
|
level-2
]
undo circuit-cost
[
level-1
|
level-2
]
View
IS-IS view
Parameters
value
: Specifies the global link cost value. The value range varies with cost types.
z
For types
narrow, narrow-compatible
and
compatible
: The cost value ranges
from 0 to 63.
z
For types
wide
and
wide-compatible
: The cost value ranges from 0 to 16777215.
level-1
: Applies the link cost to Level-1.
level-2
: Applies the link cost to Level-2.
Description
Use the
circuit-cost
command to set a global link cost.
Use the
undo circuit-cost
command to restore the default.
By default, the global link cost is not configured.