The bandwidth-reference command sets a bandwidth reference value that is used to calculate interface costs.
The undo bandwidth-reference command restores the default bandwidth reference value.
The default bandwidth reference value is 100 Mbit/s.
Parameter | Description | Value |
---|---|---|
value |
Specifies a bandwidth reference value for link cost calculation. |
The value is an integer ranging from 1 to 2147483648, in Mbit/s. The default value is 100 Mbit/s. |
Usage Scenario
The calculation formula is as follows: Interface cost = Bandwidth reference value/Interface bandwidth. The integer of the calculated result is the interface cost. If the calculated result is smaller than 1, the interface cost value is 1. If the bandwidth-reference command is executed to configure a new bandwidth reference value, the interface cost will be changed. As a result, OSPF will re-select routes.
The default bandwidth reference value is 100 Mbit/s. The interface cost value is 100000000 divided by the interface bandwidth value.
Precautions