Community discussions

MikroTik App
 
zuku
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Sat Jun 27, 2015 3:56 pm

Cannot import RSC file into Mikrotik - wrong config order

Mon Jul 06, 2020 9:24 am

I'm trying to verbose import RSC file exported from CCR1009 device into new the same model device CCR1009 but I have errors like:
1
set discover-interface-list=discover
input does not match any value of discover-interface-list
so I moved this section on .rsc file to the end, but then again next error:
2.
interface list member
add interface sfp-sfpplus1 list=Lan+ETH
input does not match any value of list
I understand why I have these errors, but I have over 1566 lines of config and now I have to guess what config section should be first what should be next, why Mikrotik do not export config in correct order, to resolve issues like these?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26376
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cannot import RSC file into Mikrotik - wrong config order

Mon Jul 06, 2020 9:35 am

Which RouterOS version made the export?
Which RouterOS version on the new device?
 
zuku
Member Candidate
Member Candidate
Topic Author
Posts: 109
Joined: Sat Jun 27, 2015 3:56 pm

Re: Cannot import RSC file into Mikrotik - wrong config order

Mon Jul 06, 2020 1:45 pm

Device from which backup was exported is CCR1009 Long Term 6.44.6
New one is CCR1009 with Long Term 6.45.9

Can I use binary backup if new device is exactly the same model (CCR1009-8G-1S-1S+) ?
 
afuchs
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Wed Jul 03, 2019 11:10 am

Re: Cannot import RSC file into Mikrotik - wrong config order

Mon Jul 06, 2020 3:28 pm

Hello,

the error message says, that the interface list discover could not be found,
so please check where the interface list is created.

There muss some section like:
/interface list
add  name=discover 
and a section where teh interfaces are added
/interface list member
add interface=ether1 list discover 
Check if there is a spelling problem, this happens sometimes.
 
User avatar
k6ccc
Forum Guru
Forum Guru
Posts: 1497
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)
Contact:

Re: Cannot import RSC file into Mikrotik - wrong config order

Mon Jul 06, 2020 9:22 pm

I have only done an import once - when I upgraded a RB750r2 with a RB750Gr3. I found the same thing. Had to break up the file into a bunch of small pieces to get it all to work. Like you, stuff was in the wrong order, and stuff in the default config conflicted with what I was trying to import. Ended up taking an hour or two.
 
User avatar
k6ccc
Forum Guru
Forum Guru
Posts: 1497
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)
Contact:

Re: Cannot import RSC file into Mikrotik - wrong config order

Mon Jul 06, 2020 9:49 pm

Sorry, duplicate post...

Who is online

Users browsing this forum: 4l4R1, Abidjan, carloang15, Google [Bot], zdiv and 49 guests