Save All Context Configurations at the Same Time
Use the following procedure to save all context configurations at the same time, as well as the system
configuration.
Procedure
From the system execution space, save the running configuration to the startup configuration for all contexts
and the system configuration:
write memory all
[
/noconfirm
]
If you do not enter the
/noconfirm
keyword, you see the following prompt:
Are you sure [Y/N]:
After you enter
Y
, the ASA saves the system configuration and each context. Context startup configurations
can reside on external servers. In this case, the ASA saves the configuration back to the server you identified
in the context URL, except for an HTTP or HTTPS URL, which do not let you save the configuration to the
server.
After the ASA saves each context, the following message appears:
‘
Saving context
‘
b
’
... ( 1/3 contexts saved )
’
Sometimes, a context is not saved because of an error. See the following information for errors:
•
For contexts that are not saved because of low memory, the following message appears:
The context 'context a' could not be saved due to Unavailability of resources
•
For contexts that are not saved because the remote destination is unreachable, the following message
appears:
The context 'context a' could not be saved due to non-reachability of destination
•
For contexts that are not saved because the context is locked, the following message appears:
Unable to save the configuration for the following contexts as these contexts are
locked.
context
‘
a
’
, context
‘
x
’
, context
‘
z
’
.
A context is only locked if another user is already saving the configuration or in the process of deleting
the context.
•
For contexts that are not saved because the startup configuration is read-only (for example, on an HTTP
server), the following message report is printed at the end of all other messages:
Unable to save the configuration for the following contexts as these contexts have
read-only config-urls:
CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.5
25
Getting Started
Save Configuration Changes