Community discussions

MikroTik App
 
bmann
newbie
Topic Author
Posts: 29
Joined: Sat Jan 05, 2013 2:10 pm

Config conversion tool

Tue May 21, 2024 9:46 pm

Hello Mikrotik team,

would that be possible to make a config (.rsc) conversion tool (CLI/web) to convert from v6 to v7?
The conversion is done on an upgrade, but this would be on demand tool to do it without an upgrade.

It could be valuable in scenarios:
- review the config changes before own upgrade on particular box (and prepare for possible issues)
- old device with v6 died, but new device comes on v7 and need get v6 backup to v7
- different v6 configuration for one box, but only one is upgraded and need to convert other too

I do not look for any sophisticated tool, just something what will the basic conversion and will ease the migration.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 21904
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Config conversion tool

Tue May 21, 2024 10:02 pm

Not a good idea, better to understand the commands in V6, and the relevant/associated or different commands functionality in version 7.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6760
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Config conversion tool

Tue May 21, 2024 10:17 pm

Generally it's never a bad idea to test conversion on a lab device before deploying in production.
And then you can see the differences when exporting both configs before and after (notepad++ has a pretty good diff-plugin).
 
bmann
newbie
Topic Author
Posts: 29
Joined: Sat Jan 05, 2013 2:10 pm

Re: Config conversion tool

Thu May 23, 2024 11:18 am

Not a good idea, better to understand the commands in V6, and the relevant/associated or different commands functionality in version 7.
So better to remove automatic config update on device from v6 to v7 so you have chance to learn the syntax on v7.
Generally it's never a bad idea to test conversion on a lab device before deploying in production.
And then you can see the differences when exporting both configs before and after (notepad++ has a pretty good diff-plugin).
Yes, it is always good to test in lab. But maybe you do not have the same device in lab as customer has in production.
Or the device too old (not suitable for v7) or just want replace old v6 with new HW on v7.

This tool could help to ease the migration and review the changes before you do it in production. And it is already included in ROS7, right?

Anyway just idea how to ease migrations to v7 in some cases and help avoid issues.
 
holvoetn
Forum Guru
Forum Guru
Posts: 6760
Joined: Tue Apr 13, 2021 2:14 am
Location: Belgium

Re: Config conversion tool

Thu May 23, 2024 12:35 pm

Or the device too old (not suitable for v7) or just want replace old v6 with new HW on v7.
In which case there is no conversion and you need to configure from scratch using ROS7 on the new device.
So you need to understand ROS7 differences anyhow...

Who is online

Users browsing this forum: anav, DimoSK, JohnTRIVOLTA and 56 guests