02-23-2009 04:18 PM - edited 02-21-2020 03:18 AM
hi,
on ASA, there are 3 contexts, is there a command to backup all configurations at the same time? for command copy run ftp, I have to switch to every context to issue it.
Thanks,
Jonathan
02-23-2009 05:07 PM
Unfortunately there is no command to do that. You will have to write a script to log in to each context and backup each context.
One other option could be to save the "show tech" output to a TFTP (or FTP) server.
This will have all context's config but you will need to do manual editing before restoring/pasting it to the contexts.
Syed
05-10-2019 06:51 AM
Late reply but just for anyone else looking for this information:
You can do this from the system context, the configs for the default admin ctx and the other contexts are defined there and is normally a file on the flash.
I normally copy system:running-config and disk0:/admin.cfg, disk0:/ctx1.cfg and so on to a tftp-server.
The system context uses the interfaces and routing from the admin context to do this.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: