Hello to everyone…
I have a few SXTsq 5 ac that will have a pretty similar configuration acting as clients in a PTMP scenario. The issue comes when I try to upload the configuration file and the unit reboot but does not apply the configuration…
Any recommendation? Would like to keep the process as backup file configuration because I’d like to have the file encrypted (can’t have the info in plain text)
Usually this indicates that there is a error (sometimes syntax, sometimes interface-specific, etc.) in the configuration file, and configuration was aborted ether before it started or when the error was encountered.
The only direct way to debug this is to reset the router with no-default-configuration, then use the MAC address connection to login from Winbox, open up a Terminal window and:
/import your-config.rsc verbose=yes
It will apply the config until it hits the error, then will explain the error. Often you can edit the file on your PC to fix the error, drag it into the MikroTik, then use the from-line=NNN import argument to continue from the point of failure. If you can’t sometimes you will have to reset the router again and try from scratch.
Keep in mind that it is not uncommon for ROS to produce export files that will not re-import, even on the same machine. It’s unfortunately a very common issue.
One caveat is that any command that changes the configuration of the port you are logged in from will break your connection in mid-import. Often you can avoid this by, e.g., leaving one LAN port out of the LAN bridge until the final command, then logging in through that port.
One point I overlooked: if you’re trying to distribute a configuration as a backup file, it won’t work.
Backup files are specific to individual units. They don’t work at all between different router models, and even if you try to load them on identical router models with identical firmware and ROS levels, they will typically have unwanted side effects such as changing the MAC addresses on interfaces to be the same as the originating machine, which creates havoc on networks.
Distribute the configuration as an import (rsc) file, then once it is run, you can make an encrypted backup file for THAT device and keep it on the device, then delete the rsc file. But you have to do the import operation separately on each device to have it done right.
Thank you. I’m gonna follow your steps and will let you know. Thanks again!