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.
[email protected]# compare [edit interfaces] +vxlan vxlan123 { + remote 192.168.188.2 + vni 123 +} [edit] [email protected]# 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 [email protected]# set interfaces vxlan vxlan123 remote-port 4789 [edit] [email protected]# commit [ interfaces vxlan vxlan123 remote-port 4789 ] Changing remote port requires delete/create this vxlan interface [[interfaces vxlan vxlan123]] failed Commit failed [edit] [email protected]#
maybe it is better to don't commit the change when the remote-port is not set?