I noticed that there is a big error in “export compact file=XXXX” , in the “ip neighbor discovery-settings” field.
In order to not activate discovery only on some interfaces, I create a list named “no-discovery” and i set “ip neighbor discovery-settings” to " discover-interface-list: !no-discovery ".
But, if i export configuration file, the file exported, instead, contains:
/ip neighbor discovery-settings
set discover-interface-list=no-discovery
So, if I load this file as is on another device, I lose discovery capability just on the interfaces I wanted it working, and I have discovery on the interface to not discover.
Why this strange behavior?
It’s a long-standing bug. It’s still there in the latest beta 6.44beta61.
Report it to Mikrotik support - point them to this thread.
They might deign to fix it one of these years.
It doesn’t affect “export verbose” though:
[admin@MikroTik] /ip neighbor discovery-settings> print
discover-interface-list: !test
[admin@MikroTik] /ip neighbor discovery-settings> export
# jan/21/2019 11:14:15 by RouterOS 6.44beta61
/ip neighbor discovery-settings
set discover-interface-list=test
[admin@MikroTik] /ip neighbor discovery-settings> export verbose
# jan/21/2019 11:14:12 by RouterOS 6.44beta61
/ip neighbor discovery-settings
set discover-interface-list=!test
[admin@MikroTik] /ip neighbor discovery-settings> export terse
# jan/21/2019 11:14:21 by RouterOS 6.44beta61
/ip neighbor discovery-settings set discover-interface-list=test
Since 11/20/2018: [Ticket#2018112022004944] ROS 6.43.4 - Export incorrect discovery-settings
Hello,
We are very sorry for any inconvenience caused.
We will fix this problem as soon as possible.
Best regards,
Martins S.