The auto-cost enable command enables IS-IS to automatically calculate the interface cost based on the interface bandwidth.
The undo auto-cost enable command disables IS-IS from automatically calculating the interface cost based on the interface bandwidth.
By default, IS-IS is disabled from automatically calculating the interface cost based on the interface bandwidth.
Parameter | Description | Value |
---|---|---|
compatible |
Specifies the IS-IS to calculate the cost of an interface based on the bandwidth of the interface automatically in compatible. |
- |
Usage Scenario
After this command is run, if the cost of an IS-IS interface is not set in the interface view and no cost is set in the IS-IS view, the system automatically calculates a cost for the interface.
If the cost style of the system is wide or wide-compatible:
When auto-cost enable command is configured, Interface cost = (Bandwidth-reference/Link-bandwidth) x 10.
The cost style is set by the cost-style command. The Bandwidth-reference is set by the bandwidth-reference command. The Link-bandwidth is the interface bandwidth.
If the cost style of the system is narrow, narrow-compatible or compatible, the cost of each interface is based on the following table.
Cost |
Range of the Interface Bandwidth |
---|---|
60 |
Interface bandwidth =< 10 Mbit/s |
50 |
10 Mbit/s < Interface bandwidth ≤ 100 Mbit/s |
40 |
100 Mbit/s < Interface bandwidth ≤ 155 Mbit/s |
30 |
155 Mbit/s < Interface bandwidth ≤ 622 Mbit/s |
20 |
622 Mbit/s < Interface bandwidth ≤ 2.5 Gbit/s |
10 |
2.5 Gbit/s < Interface bandwidth |
Precautions
The priority of the cost value of the global configured by the circuit-cost command is higher than the auto cost value.
The auto-cost enable command cannot change the cost of the loopback interface.