/
set protocols ospf auto-cost reference-bandwidth

set protocols ospf auto-cost reference-bandwidth

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 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 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

Copyright © 2025 Pica8 Inc. All Rights Reserved.