Assuming you are running v5.12 or later...
In the terminal, do:
ros code
/export compact file=Whatever
The script file will show up in /files as Whatever.rsc. Copy this to your computer and open with a text editor of your choice. Examine the script to find the items that would change between routers (IP settings, name, etc), and modify the file to be used as a template.
When you want to configure a new router, make the changes to the script, and apply the script by either
1) copy / pasting into the terminal, or
2) upload to the router and run this command in the terminal:
ros code
/import Whatever.rsc