Hello,
if
interface vxlan <vxlanN> remote-port
is not set, the commit creates a problem that the interface can no longer be edited. in the status the interface must delte commit and recreate with remote-port.
vyos@vyos# compare [edit interfaces] +vxlan vxlan123 { + remote 192.168.188.2 + vni 123 +} [edit] vyos@vyos# commit [ interfaces vxlan vxlan123 ] vxlan: destination port not specified Will use Linux kernel default (non-standard value) Use 'dstport 4789' to get the IANA assigned value Use 'dstport 0' to get default and quiet this message vyos@vyos# set interfaces vxlan vxlan123 remote-port 4789 [edit] vyos@vyos# commit [ interfaces vxlan vxlan123 remote-port 4789 ] Changing remote port requires delete/create this vxlan interface [[interfaces vxlan vxlan123]] failed Commit failed [edit] vyos@vyos#
maybe it is better to don't commit the change when the remote-port is not set?