Downgrade the new v5.x router to v4.5 to match the current production router.
Export config from v4.5 production router. Since the “compact” option doesn’t exist in v4, you will have to do a full /export. In the terminal, do:
/export file=myBackup
Copy the new myBackup.rsc file to your computer. Open with a text editor and edit / modify as necessary.
*** NOTE ***
All router MAC addresses are also exported to the config file. If this config file is applied directly to another router, its MAC addresses will be changed. To remove all specific MAC addresses from the config, search and remove the “mac-address=XX:XX:XX:XX:XX:XX” entries for ethernet and wireless interfaces (there may be other entries you want to keep such as firewall rules or whatever). Milliscript is also useful for removing MAC addresses.
4. When you are finished editing, copy / paste the config into the new router’s terminal, -or- copy the file to the new router and do:
/import myBackup.rsc
I usually prefer copy / paste because any import errors are easier to find and troubleshoot.
After the script has been successfully imported and you are satisfied with the new configuration, upgrade the router.
So, in that case I would still go through the same steps and export the current v4 script to a file. After editing, then copy / paste each section, one at a time into the new v5 router, each section being the ones that start with a forward slash: the /interface ethernet block, the /ip address block, etc…
Then you can easily spot errors and verify each section has been applied correctly.
I trying to adjust configuration from ver 4.5 to 5.15 - there are a lot of parameters that have changed
Found strange thing:
Every client configured as different VLAN. There is a simple queue for every VLAN. In addition, there is a interface queue for every physical port and for every VLAN as well! simple queue is sfq and interface is pfifo.
When trying to run a command /queue interface set vlan_00 queue=default on ver 5.15 it says no such item. On 4.5 it works.
I’m not sure about the whole idea behind creating an interface queue for each VLAN. May be i should just ignore it and delete from exported configuration?