bandwidth-reference (OSPFv3 view)
Use bandwidth-reference to set a reference bandwidth value for link cost calculation.
Use undo bandwidth-reference to restore the default.
Syntax
bandwidth-reference value
undo bandwidth-reference
Default
The reference bandwidth value is 100 Mbps for link cost calculation.
Views
OSPFv3 view
Predefined user roles
network-admin
Parameters
value: Specifies the reference bandwidth value for link cost calculation, in the range of 1 to 4294967 Mbps.
Usage guidelines
You can configure an OSPFv3 cost for an interface with one of the following methods:
Configure the cost value in interface view.
Configure a bandwidth reference value. OSPFv3 computes the cost automatically based on the bandwidth reference value by using the following formula: Interface OSPFv3 cost = Bandwidth reference value / Interface bandwidth.
If the calculated cost is greater than 65535, the value of 65535 is used.
If the calculated cost is smaller than 1, the value of 1 is used.
If no cost value is configured for an interface, OSPFv3 computes the interface cost value automatically.
Examples
# Set the reference bandwidth value to 1000 Mbps.
<Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] bandwidth-reference 1000