Restore the Factory Default Configuration
This section describes how to restore the factory default configuration. For the ASAv, this procedure erases
the deployment configuration and applies the same factory default configuration as for the ASA appliances.
On the ASASM, restoring the factory default configuration simply erases the configuration; there is no
factory default configuration. On the Firepower 9300 ASA security module, restoring the factory default
configuration simply erases the configuration; to restore the default configuration, you must re-deploy the
ASA from the supervisor.
Note
Before You Begin
This feature is available only in routed firewall mode; transparent mode does not support IP addresses for
interfaces. In addition, this feature is available only in single context mode; an ASA with a cleared configuration
does not have any defined contexts to configure automatically using this feature.
Procedure
Step 1
Restore the factory default configuration:
configure factory-default
[
ip_address
[
mask
]]
Example:
ciscoasa(config)# configure factory-default 10.1.1.1 255.255.255.0
If you specify the
ip_address
, then you set the inside or management interface IP address, depending on your
model, instead of using the default IP address of 192.168.1.1. The http command uses the subnet you specify.
Similarly, the
dhcpd address
command range consists of addresses within the subnet that you specify.
This command also clears the
boot
system command, if present, along with the rest of the configuration. The
boot
system command lets you boot from a specific image, including an image on the external flash memory
card. The next time you reload the ASA after restoring the factory configuration, it boots from the first image
in internal flash memory; if you do not have an image in internal flash memory, the ASA does not boot.
Step 2
Save the default configuration to flash memory:
write memory
This command saves the running configuration to the default location for the startup configuration, even if
you previously configured the
boot
config command to set a different location; when the configuration was
cleared, this path was also cleared.
Restore the ASAv Deployment Configuration
This section describes how to restore the ASAv deployment (Day 0) configuration.
CLI Book 1: Cisco ASA Series General Operations CLI Configuration Guide, 9.5
17
Getting Started
Restore the Factory Default Configuration