Run the command set protocol ospf auto-cost reference-bandwidth to set the reference bandwidth for route cost calculation. The 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 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 ospf auto-cost reference-bandwidth to delete this configuration
Command Syntax
set protocol ospf [vrf <text>] auto-cost reference-bandwidth <1-4294967>
delete protocol 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.
admin@XorPlus# set protocols ospf vrf BLUE auto-cost reference-bandwidth 500000 admin@Xorplus# commit