Page MenuHomeVyOS Platform

Kilobits/Megabits difference in configuration Vyos/FRR
Closed, ResolvedPublicBUG

Description

In VyOS 1.2.3 console for interface calculating cost 'bandwidth' mean "kilobits/sec"

[email protected]# set interfaces ethernet eth2 ip ospf bandwidth 
Possible completions:
   <1-10000000> Bandwidth in kilobits/sec (for calculating OSPF cost)

in Frr 'bandwidth' mean "megabits"

[email protected]# vtysh
prim# conf t
prim(config)# int eth2
prim(config-if)# bandwidth 
  (1-100000)  Bandwidth in megabits

Such an example will not work.

[email protected]# set interfaces ethernet eth2 ip ospf bandwidth 100001
[edit]
[email protected]# commit
[ interfaces ethernet eth2 ip ospf bandwidth 100001 ]
% Unknown command: bandwidth 100001

[[interfaces ethernet eth2 ip ospf]] failed
Commit failed
[edit]
[email protected]#

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.2.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)