[Sysname] isis 1
[Sysname-isis-1] area-authentication-mode simple ivg
auto-cost enable
Syntax
auto-cost enable
undo auto-cost enable
View
IS-IS view
Default level
2: System level
Parameters
None
Description
Use
auto-cost enable
to enable automatic link cost calculation.
Use
undo auto-cost enable
to disable the function.
This function is disabled by default.
After automatic link cost calculation is enabled, the link cost is automatically calculated based on the
bandwidth reference value of an interface. When the cost-style is wide or wide-compatible, the cost
value of an interface is calculated by using the formula: Cost = (reference bandwidth value/link
bandwidth) × 10, which is in the range of 1 to 16777214. For other cost styles,
applies.
Table 28 Automatic cost calculation scheme for cost styles other than wide and
wide-compatible
Interface bandwidth
Cost
≤
10 Mbps
60
≤
100 Mbps
50
≤
155 Mbps
40
≤
622 Mbps
30
≤
2500 Mbps
20
>2500 Mbps
10
Related commands:
bandwidth-reference
and
cost-style
.
Examples
# Enable automatic link cost calculation.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] auto-cost enable
127