Community discussions

MikroTik App
 
eisa
just joined
Topic Author
Posts: 6
Joined: Thu Nov 07, 2013 7:42 pm

Config migration from RB2011 to RB4011

Mon Dec 19, 2022 4:34 pm

I have <mikrotik rb2011uias-2hnd-in> and I bought <RB4011iGS+RM>.
They have same ports(10 RJ45 ports + 1 sfp port).

But <mikrotik rb2011uias-2hnd-in> has <Wi-Fi> and <LCD> function and I don't use it.
And <RB4011iGS+RM> has no <Wi-Fi> and <LCD> function.

I want to migrate my old RB2011 configuration to new RB4011 and I have two questions.

Q1) The configuration file of RB2011 can work properly with RB4011 ?

Q2) If the configuration of RB2011 is compatible with RB4011, The <Wi-Fi> and <LCD> function of RB2011 does not affect the RB4011?

Thank you for reading.
If you have any idea or experience, let me know it please.

Sincerely.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12001
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Config migration from RB2011 to RB4011  [SOLVED]

Mon Dec 19, 2022 4:44 pm

The SFP is not the same, probably the RB4011 have the sfp1 interface named sfp-sfpplus1

You can EXPORT the config from first, searc all sfp1 occurrencies and replace it with sfp-sfpplus1 (check the name).

Search also all "MAC" occurrencies, and check that aren't any.

At that point you can paste inside 4011 terminal ignoring wlan and lcd errors.
 
erlinden
Forum Guru
Forum Guru
Posts: 1953
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Config migration from RB2011 to RB4011

Mon Dec 19, 2022 4:49 pm

After exporting your current configuration, you can easily edit it in any text editor. You have to change it manually, otherwise the import will fail.
Also, if you have fixed MAC addresses, you have to change them.
And make sure that you are running the same RouterOS.

Do you have (many) users configured? Because that is (one of the items that is) missing in the export.

[Update] @anav: won't the import crash with incorrect values?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12001
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Config migration from RB2011 to RB4011

Mon Dec 19, 2022 4:55 pm

[Update] @anav: won't the import crash with incorrect values?
Wrong topic????


If the .rsc is pasted on the terminal it doesn't "crash"...
It just highlights the errors, but it continues.
Just simply ignore all errors on wireless/wlan/lcd.
 
erlinden
Forum Guru
Forum Guru
Posts: 1953
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Config migration from RB2011 to RB4011

Mon Dec 19, 2022 5:49 pm

Just simply ignore all errors on wireless/wlan/lcd.
Learned something again today!
 
pe1chl
Forum Guru
Forum Guru
Posts: 10215
Joined: Mon Jun 08, 2015 12:09 pm

Re: Config migration from RB2011 to RB4011

Mon Dec 19, 2022 7:01 pm

Also note that on the 2011 the WLAN interface is 2GHz and is called wlan1, while on the 4011 you have 2 WLAN interfaces, wlan1 is 5 GHz and wlan2 is 2 GHz.
So to migrate your 2 GHz config from 2011 to 4011 you need to edit all wlan1 in your export to wlan2.
But you have a RM version so that does not apply in this case (I mention it for others only).

I have been able to migrate my 2011 config to my 4011 this way, but in general I would advise against it.
It is better to export the config and keep it as notes, then start your 4011 from scratch.
Update the software to the version you want to use, THEN reset it to defaults (AFTER the update and reboot), and work from there.
Do only the config you see in your export, but not e.g. the firewall. Leave that as default and only add any rules you are sure that you need.
Other config can be copied/pasted when it is a lot of typing work and you know it is safe to do.
 
eisa
just joined
Topic Author
Posts: 6
Joined: Thu Nov 07, 2013 7:42 pm

Re: Config migration from RB2011 to RB4011

Wed Dec 28, 2022 12:10 am

The SFP is not the same, probably the RB4011 have the sfp1 interface named sfp-sfpplus1
You can EXPORT the config from first, searc all sfp1 occurrencies and replace it with sfp-sfpplus1 (check the name).
Search also all "MAC" occurrencies, and check that aren't any.
At that point you can paste inside 4011 terminal ignoring wlan and lcd errors.

You helped me a lot and I can do it without mistake.
Thank you really much.

Sincerely,
June.
 
eisa
just joined
Topic Author
Posts: 6
Joined: Thu Nov 07, 2013 7:42 pm

Re: Config migration from RB2011 to RB4011

Wed Dec 28, 2022 12:11 am

After exporting your current configuration, you can easily edit it in any text editor. You have to change it manually, otherwise the import will fail.
Also, if you have fixed MAC addresses, you have to change them.
And make sure that you are running the same RouterOS.

Do you have (many) users configured? Because that is (one of the items that is) missing in the export.

[Update] @anav: won't the import crash with incorrect values?
I can do it by myselp and your advice helped me.

Thank you so much.

Sincerely,
June.
 
eisa
just joined
Topic Author
Posts: 6
Joined: Thu Nov 07, 2013 7:42 pm

Re: Config migration from RB2011 to RB4011

Wed Dec 28, 2022 12:14 am

[Update] @anav: won't the import crash with incorrect values?
Wrong topic????
If the .rsc is pasted on the terminal it doesn't "crash"...
It just highlights the errors, but it continues.
Just simply ignore all errors on wireless/wlan/lcd.
Thank you for your advice.

I've never met errors thanks to experts help.

Have a nice year end.

Thank you for kind reply.

Sincerely,
Junseok
 
eisa
just joined
Topic Author
Posts: 6
Joined: Thu Nov 07, 2013 7:42 pm

Re: Config migration from RB2011 to RB4011

Wed Dec 28, 2022 12:16 am

Also note that on the 2011 the WLAN interface is 2GHz and is called wlan1, while on the 4011 you have 2 WLAN interfaces, wlan1 is 5 GHz and wlan2 is 2 GHz.
So to migrate your 2 GHz config from 2011 to 4011 you need to edit all wlan1 in your export to wlan2.
But you have a RM version so that does not apply in this case (I mention it for others only).

I have been able to migrate my 2011 config to my 4011 this way, but in general I would advise against it.
It is better to export the config and keep it as notes, then start your 4011 from scratch.
Update the software to the version you want to use, THEN reset it to defaults (AFTER the update and reboot), and work from there.
Do only the config you see in your export, but not e.g. the firewall. Leave that as default and only add any rules you are sure that you need.
Other config can be copied/pasted when it is a lot of typing work and you know it is safe to do.
Thank you for your kind answer.

I can do it without any mistake for your answers.

Thank you so much.

Sincerely,
Junseok

Who is online

Users browsing this forum: Amazon [Bot], canvcol, freezerfcb and 22 guests