Page MenuHomeVyOS Platform

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

Description

OSPF command

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

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

Details

Difficulty level
Unknown (require assessment)
Version
-
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

Unknown Object (User) created this task.Aug 11 2020, 1:45 PM
Unknown Object (User) added a comment.Aug 11 2020, 4:43 PM

I guess it'll be easy to integrate it into VyOS CLI, as it exists in FRR.

http://docs.frrouting.org/en/latest/ospfd.html#clicmd-auto-costreference-bandwidth(1-4294967)

erkin set Issue type to Feature (new functionality).Aug 29 2021, 1:29 PM
erkin removed a subscriber: Active contributors.
Unknown Object (User) added a subscriber: Unknown Object (User).Oct 16 2021, 12:53 PM

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)