The bandwidth-reference command sets a bandwidth reference value that is used when the system automatically calculates the interface cost.
The undo bandwidth-reference command cancels the configuration.
By default, the bandwidth reference value is 100 Mbit/s.
Usage Scenario
You can configure a link cost for all interfaces or enable automatic interface cost calculation. To enable automatic interface cost calculation, you need to set a proper bandwidth reference value.
Prerequisites
An IS-IS process has been created.
Configuration Impact
You can run the bandwidth-reference command to set a proper bandwidth reference value. After automatic interface cost calculation is enabled, and the cost type is wide or wide-compatible, the system calculates the cost of each interface with the following formula: Interface cost = (Bandwidth-reference/Interface bandwidth) * 10. If the interface cost calculated through this formula is greater than 16777214, 16777214 is used as the interface cost for route calculation. That is, the interface cost will never be greater than 16777214.
The automatic interface cost calculation is enabled by the auto-cost enable command, and the cost style is set by the cost-style command.Precautions
Set a proper bandwidth reference value.
If the command is run in the IS-IS view, it takes effect only in the base topology. If the command is run in the IS-IS topology view, it takes effect only in the current topology.