Import configuration failure

Hello,

I have 2 RB1100AHx2 since one year and they work very well.
I bought another one as a spare in case of failure of the old one.

I tried to export my current configuration and import it on the new RB1100. And I failed…
The problem lies with the id of the ethernet port.
On one of the older, I have :

 /interface print
Flags: D - dynamic, X - disabled, R - running, S - slave
 #     NAME                             TYPE               MTU L2MTU  MAX-L2MTU
 0     ether6                           ether             1500  1598       9498
 1     ether12                          ether             1500  1600       9116
 2     ether13                          ether             1500  1600       9116

And on the new one :

/interface print
Flags: D - dynamic, X - disabled, R - running, S - slave
 #     NAME                             TYPE               MTU L2MTU  MAX-L2MTU
 0     ether12                          ether             1500  1600       9116
 1     ether13                          ether             1500  1600       9116
 2  R  ether1                           ether             1500  1598       9498

Thus, I can’t import a config file that tells (generated from /export compact" :

/interface ethernet
set 0 name=ETH6-CLIENTS
/ip neighbor discovery
set ETH6-CLIENTS disabled=yes
set ether12 disabled=yes

because ether12 becomes ETH6-CLIENTS on the new RB.

Both boards are using firmware 2.39 and ROS 5.15.

What happened ?

Regards

Nobody on this one ? :slight_smile:

The interface numbers are generated on the fly when you use the “print” command. Never rely on those.

Just modify your exporeted script like this

/interface ethernet
set ether6 name=ETH6-CLIENTS
/ip neighbor discovery
set ETH6-CLIENTS disabled=yes
set ether12 disabled=yes