Community discussions

 
lebphi
just joined
Topic Author
Posts: 12
Joined: Sun Oct 14, 2018 12:27 pm

how copy configuration to an other router ?

Sun May 12, 2019 9:09 am

hi,

I'd like to copy the configuration of an hap ac2 router to an cap ac router with changing only MAC and IP address.
What is the best way to process ? Can i upload the backup of the hap in the cap ?
 
mkx
Forum Guru
Forum Guru
Posts: 2975
Joined: Thu Mar 03, 2016 10:23 pm

Re: how copy configuration to an other router ?

Sun May 12, 2019 12:48 pm

Can i upload the backup of the hap in the cap ?
Definitely not. You should not even upload backup of another device of same model, the complications can be just too big to bother.

The correct way is to create configuration export using command /export file=export.rsc, copy file to your computer, sanitize it[*] and only then upload it to the other device. There are a few things that exported config file doesn't cover, such as users and passwords, certificates and perhaos some more.

[*] sanitizing includes fixing everything which is device speciffic, such as MAC addresses, used physical ports (if the target device features less ports than source device), peripherial port properties (e.g. frequency band of wireless device or supported rate (think SFP vs. SFP+)), switch chip properties (in case some functionality is configured on switch chip and target device requires different config syntax or even doesn't support needed functionality). Etc.


All in all, migration of configuration to different devuce type is not an easy task. Sometimes it's better to re-create config, but starting from "modern time" ROS defaults and add needed functionality folowing the modern way of doing it.
BR,
Metod

Who is online

Users browsing this forum: MSN [Bot] and 15 guests