The bandwidth-reference command sets the bandwidth reference value for interface cost calculation.
The undo bandwidth-reference command restores the default setting.
By default, the bandwidth reference value of the link cost is 100 Mbit/s. That is, the link cost is 100000000/bandwidth. The bandwidth is in bit/s.
Usage Scenario
If the interface cost is not set, OSPFv3 calculates it according to the link bandwidth (Cost = Reference Value/Bandwidth). The ospfv3 cost command sets a cost for an OSPFv3 interface. The priority of the cost set using the ospfv3 cost command is higher than that of the cost set using the bandwidth-reference command.