Line by line config restore from 6.34 to 6.42 firmware

our in use cloud core is running 6.34testing firmware

I have been tasked restoring its config to a backup cloud core router we have same Make/Model but running the latest 6.42 firmware

did not do a full backup as I was told it would copy MAC of the old router

tried export and import config, also tried compact both error our

now I’m trying a line be line copy and getting errors like this command is wrong

rx-flow-control=on tx-flow-control=on

saying control=on the = is in red
have many more errors like this


I’m a bit of a noob any help greatly apricated

Thanks,

Flow control is not present in the newer firmware hence not being able to apply it.

Thanks!

This is the next line not working

set [ find default-name=ether4 ] advertise=100M-full,1000M-full comment=
“Database Server” master-port=ether1-Group1-Master name=ether4-Group1

is there an application that will check config text for compatibilty?

Not that I know of. You should connect to the new CCR by MAC address, erase the config and
paste the exported old config in small sections. When you encounter errors, paste the same
command again omitting the parameter that causes the error.

I think you’re working way to hard at this.

/interface ethernet

set [ find default-name=ether1 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full arp=enabled arp-timeout=auto auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=4074 loop-protect=on loop-protect-disable-time=5m loop-protect-send-interval=5s mac-address=E4:8D:8C:0A:05:5D mtu=4074 name=ether1 orig-mac-address=E4:8D:8C:0A:05:5D rx-flow-control=off speed=100Mbps tx-flow-control=off

set [ find default-name=ether2 ] advertise=10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full arp=enabled arp-timeout=auto auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=4074 loop-protect=on loop-protect-disable-time=5m loop-protect-send-interval=5s mac-address=E4:8D:8C:0A:05:5E mtu=4074 name=ether2 orig-mac-address=E4:8D:8C:0A:05:5E rx-flow-control=off speed=100Mbps tx-flow-control=off

See the “mac-address=” stuff in the above example?
Search for that in your favorite text editor, then remove that part of the command. I think you’ll only find it in the “interface ethernet” and “interface bridge” sections.

there are not any MAC Addresses in my export rsc file so not really sure what you’re talking about… sorry

here is more of the config maybe it will make more sense, thanks. (Note where you see “Edit” is me removing the name of the company and the Fiber Company)


/interface bridge
add arp=proxy-arp name=Bridge protocol-mode=none
add name=NullBridge
/interface ethernet
set [ find default-name=ether1 ] advertise=100M-full,1000M-full arp=proxy-arp
comment=“airFiber to Peek Field” name=ether1-Group1-Master
rx-flow-control=on tx-flow-control=on
set [ find default-name=ether2 ] advertise=100M-full,1000M-full comment=
“Edit Network” master-port=ether1-Group1-Master name=ether2-Group1
set [ find default-name=ether3 ] advertise=100M-full,1000M-full comment=
“Edit Network” master-port=ether1-Group1-Master name=ether3-Group1
rx-flow-control=on tx-flow-control=on
set [ find default-name=ether4 ] advertise=100M-full,1000M-full comment=
“Edit Network” master-port=ether1-Group1-Master name=ether4-Group1
set [ find default-name=ether5 ] arp=proxy-arp
set [ find default-name=ether6 ] arp=proxy-arp
set [ find default-name=ether7 ] advertise=1000M-full arp=proxy-arp comment=
“Conection to Edit” name=ether7-WAN speed=1Gbps
set [ find default-name=ether8 ] advertise=100M-full,1000M-full arp=proxy-arp
auto-negotiation=no speed=1Gbps

BTW, you said “line by line” but that is not the proper way to do it.
You should copy sections of multiple lines.
At least when a line ends with \ you should copy and paste the following line with it.
The line “rx-flow-control=on tx-flow-control=on” is not an independent line by itself but it belongs to the two lines above it.

If there are no MAC addresses, then restore the whole config to your backup router and test.

I personally prefer to either SSH or open a terminal in Winbox and paste a config by hand. That way errors are displayed and I can correct them.

6.41 did away with master-slave configuration and introduced hardware offload to a software bridge.

Is this a complex config?
If not, you might be quicker by just manually configuring everything while having the printed export as a reminder to see what has to be done.

You could also check if the new CCR can run 6.40 firmware (see in System->Resources what is the factory software, is it 6.40 or lower?)
If so, you could downgrade to 6.40.8 and it will probably load your export without further issue, then you can upgrade again to 6.42.6 and
it will automatically convert to the newer method.

That is probably the best advice in this thread.

OK, I Downgraded to 6.40.8 per recommendation,


if I try import file=“backup.rsc”
I get command error

if I paste the full-text config into the terminal at once it reboots the Router and takes none of the config


I pasted the first half of config and then the second half from the text file and it seemed to take

But There is a lot of config missing still



is there anyway to take full config from a Mikrotik and move it to an identical Backup model?

Is this a complex config? How long is it?

Config is 12537 lines long

yes the config is a bit complicated as it binds Public IP’s to LAN IP’s and I’m very new to Mikrotik

this is a Core router for a WISP so lots of little settings

Then at least try to restore it section by section.

I did do that but it seems that some of the config is still missing like export did not actually export the full config hoping I’m missing something