Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Run the command set protocol protocols ospf auto-cost reference-bandwidth to set the reference bandwidth for route cost calculation. The reference bandwidth specified here is considered equivalent to OSPF cost of 1. The default value is 100000 for 100 Gbps so for links with speed less than 100 Gbps, the cost of interface will be calculated higher. Optional bandwidth is 100Mbits/s, that is, a link with bandwidth of 100Mbits/s or higher is considered to have a cost of 1. Cost of links with lower bandwidth will be calculated with reference to this bandwidth value. Optional parameter vrf can be used to specify the name of the VRF for the OSPF instance.

Note that this configuration must be consistent within the OSPF domain.

Run the command delete protocol protocols ospf auto-cost reference-bandwidth to delete this configuration


Command Syntax

set protocol protocols ospf [vrf <text>] auto-cost reference-bandwidth <1-4294967>

delete protocol protocols ospf [vrf <text>] auto-cost reference-bandwidth <1-4294967>


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies the name of the VRF for the OSPF instance.

reference-bandwidth <1-4294967>Specifies the reference bandwidth. The value is an integer that ranges from 1 to 4294967.


Example

  •  Configure the OSPF reference bandwidth to 500000 for VRF BLUE.

...