Run the command set 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.
...
delete 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.
...