Community discussions

MikroTik App
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Importing rsc file from V6 to V7 ospf!

Tue Jun 28, 2022 3:14 pm

Normally importing a exported rsc file from V6 to V6 is no problem but this time I notice that OSPF has changed on V7 !
/routing osfp network no present
area= backbone not present

/routing/ospf> add interface=OSPF_Loopback network=broadcast passive=yes
bad command name add (line 1 column 1)

[admin@CCR2116] > /routing ospf network
bad command name network (line 1 column 15)
[admin@CCR2116] > add area=backbone network=10.0.0.0/8
bad command name add (line 1 column 1)
[admin@CCR2116] > add area=backbone comment=OSPF_Loopback network=10.111.0.202/32

Any advice is most welcome!
Last edited by Gombeen666 on Tue Jun 28, 2022 9:41 pm, edited 1 time in total.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10196
Joined: Mon Jun 08, 2015 12:09 pm

Re: Imporing rsc file from V6 to V7 ospf!

Tue Jun 28, 2022 8:02 pm

You cannot do that. It cannot be done in general, but in this case it becomes more apparent due to the big changes in routing.
You need to edit your export to conform to v7 syntax before you can import it.

I have suggested before that MikroTik could make the automatic v6->v7 syntax converter (internally used by the router when you upgrade) available as a separate tool or webpage for situations like this. But right now, it is not available.
 
Gombeen666
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Tue Jun 25, 2019 5:33 pm

Re: Imporing rsc file from V6 to V7 ospf!

Tue Jun 28, 2022 9:38 pm

@pe1chl

I totally agree that syntax converter should be available for this !

After spending all day today I was able to import the V6 rsc file after applying a lot of syntax corrections ?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10196
Joined: Mon Jun 08, 2015 12:09 pm

Re: Imporing rsc file from V6 to V7 ospf!

Tue Jun 28, 2022 9:40 pm

Easiest would probably be to get a spare router that has v6 (or can be downgraded to v6), import the v6 config on there, then upgrade it to v7 and export to have the file to be imported on the v7 router.
But indeed it would be much easier when the converter (crossfig) would be available standalone.
 
mstokes
just joined
Posts: 5
Joined: Sun May 07, 2023 12:39 pm

Re: Importing rsc file from V6 to V7 ospf!

Tue Jul 25, 2023 2:19 pm

Many thanks for this guidance. I spent several hours yesterday trying to set up the routing table before I saw this thread. I am moving a V6 config from an RB2011 to V7 on a hAP3 ac3, via a 962 doing the upgrade. The process seems to have worked correctly (not fully tested yet) EXCEPT that the five Ethernet ports are reversed relative to their labels on the back of the hAP3. So what was WAN on Ether 1 on the RB2011 is now on Ether 5 on the hAP3 although the config in Winbox says the WAN is on Ether 1. Is this a known issue?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10196
Joined: Mon Jun 08, 2015 12:09 pm

Re: Importing rsc file from V6 to V7 ospf!

Tue Jul 25, 2023 3:43 pm

DO NOT restore a backup file from one device onto another!!!!
ONLY use /export and /import to move the configuration!
 
mstokes
just joined
Posts: 5
Joined: Sun May 07, 2023 12:39 pm

Re: Importing rsc file from V6 to V7 ospf!

Sat Jul 29, 2023 2:28 pm

Thanks for that advice.

I had previously gone the export/import route but so was surprised by the sparse content of the import that I tried backup/restore instead. I found, with export/import, that some basics were configured, the VLANs for example, but there was no sign of IP addresses, DHCP servers, lists or firewall rules for example. Also, with a verbose export, there were numerous points during the import that it stopped with a duplication warning.

I am resigned to building the v7 config from scratch. Actually, if I had the option I would have rolled the hAP3 back to v6.49.8 but I don't think I can go back before 7.6
 
pe1chl
Forum Guru
Forum Guru
Posts: 10196
Joined: Mon Jun 08, 2015 12:09 pm

Re: Importing rsc file from V6 to V7 ospf!

Sat Jul 29, 2023 3:03 pm

Yes, when you have done a restore from another device, you MUST reset configuration to default and start again.
(or even better use netinstall with configuration reset)

Who is online

Users browsing this forum: bananaboy1101, emunt6, mbovenka, sjdurand and 86 guests