Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »

Run the command set protocols 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 protocols ospf auto-cost reference-bandwidth to delete this configuration


Command Syntax

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

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.
admin@XorPlus# set protocols ospf vrf BLUE auto-cost reference-bandwidth 500000
admin@Xorplus# commit
  • No labels