Page MenuHomeVyOS Platform

OSPF redistribution metric issue
Closed, ResolvedPublicBUG


The command
set protocols ospf redistribute <static|connected|etc> metric <value>
has a metric value is 1 to 16. But in fact it should be 0-16777214


Difficulty level
Unknown (require assessment)
VyOS 1.3-rolling-202101040217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Config syntax change (migratable)

Event Timeline

FRR value for the same command

frr.PNG (260×600 px, 17 KB)


set protocols ospf redistribute bgp metric '0'
set protocols ospf redistribute connected metric '1600'

vyos@r5-roll# set protocols ospf redistribute static metric 
Possible completions:
   <0-16777214> Metric for redistributed routes


router ospf
 redistribute connected metric 1600
 redistribute bgp metric 0

Can be cherry-picked for equuleus and crux

c-po changed the task status from Open to Needs testing.Jan 24 2021, 2:01 PM
c-po edited projects, added VyOS 1.2 Crux (VyOS 1.2.7); removed VyOS 1.2 Crux.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
c-po moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.7) board.

Tested on VyOS 1.4-rolling-202101261956. Works fine