safe to omit "ip neighbor discovery" section from configuration files?

When I make big changes to routers, I do a fair bit of external editing of .rsc configuration files and reloading of configs.

I’ve always wondered: is it safe to omit the section “ip neighbor discovery” from the .rsc file when loading / restoring a config?

I think from what I’ve seen, this is setup automatically by the router as long as interface comments are set correctly in the “interface ethernet” section.

If nothing is modified, then this part of export should be empty.

Thanks @mrz,

It seems like modifying an interface comment (under ip interfaces comment) also modifies ip neighbor discovery in the .rsc config.

What I’ve generally seen is that, if i load a config that contains an interface comment under ip interfaces comment…the corresponding ip neighbor discovery entry is added automatically by the router when i load the config. Generally, this seems like it might be better than having to enter the same interface comment text in two places and risking making a mistake.

Which RouterOS version you are using? Problem where neighbour discovery entry was exported when interface comment is added should be fixed (at least in v6.38rc)

Cool to hear it’s been fixed. I’m running 6.36.4 (bugfix) rather than the latest rc because this is for production.

I’m glad this behavior will be changed! It’s been like this for so long, I didn’t know it was considered a bug.