Problem of ospf settings for an interface

Hi all,

i’ve noticed that the ospf settings of an interface like network, priority, bandwidth, etc, had been moved to protocols ospf interface , since this I’ve got a problem in the following scenario,

when I was removing an interface (e.g. tun64601), and forget to remove its ospf settings from the “protocols ospf interface” section, it still will commit successfully, but the problem comes after I saved and rebooted the vyos, the interface (tun64601) was not present in vyos config, and then the ospf process will be interrupted. i don’t know why the ospf process is not running at first, so I go to config mode, merge the config from /config/config.boot, then commit the changes, it gives me “Interface “tun64601” does not exist!” I realized I’ve removed that interface already. then I have to delete the section of “protocols ospf interface tun64601” and commit again, the ospf process running again, problem resolved.

actually I’m not sure if this is a kind of bug, it just the user forgot something during the config. if let me say I preferred config way like cisco (or vyos previously): delete an interface section will delete everything related to this interface.

Thanks and Regards,
Nicolas


1 Like

I have also seen this behavior in the same circumstances, removing tunnel interface without manually removing protocols ospf interface <intf> will lead to OSPF failure on reboot.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.