Page MenuHomeVyOS Platform

OSPF auto-cost reference-bandwidth bandwidth command support
Closed, InvalidPublicFEATURE REQUEST


OSPF command

auto-cost reference-bandwidth bandwidth [ Gbps | Mbps ]

The default OSPF metric is calculated by dividing the reference bandwidth by the bandwidth of the interface. The default value of the reference bandwidth is 10^8 or 100,000,000. Using this formula, the OSPF cost for a T1 is 65 (100,000,000/1,544,000). This number is also convenient because it causes the cost of an FDDI link or Fast Ethernet to be 1. This command allows you to modify the reference bandwidth to support interfaces that are faster than 40 Gbps.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Related Objects

Mentioned Here
T1: HTTPS setup

Event Timeline

erkin set Issue type to Feature (new functionality).Aug 29 2021, 1:29 PM
erkin removed a subscriber: Active contributors.

Tested in VyOS 1.2.8, VyOS 1.3.0-epa1, VyOS 1.4-rolling-202109190558

The command exists. The feature is working.

set protocols ospf auto-cost reference-bandwidth <number>

<number> is Reference bandwidth cost in Mbits/sec (default 100)