2-18
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter2 Getting Started
Working with the Configuration
Viewing the Configuration
The following commands let you view the running and startup configurations.
Clearing and Removing Configuration Settings
To erase settings, enter one of the following commands.
Command Purpose
copy startup-config running-config Merges the startup configuration with the running configuration. A merge
adds any new commands from the new configuration to the running
configuration. If the configurations are the same, no changes occur. If
commands conflict or if commands affect the running of the context, then
the effect of the merge depends on the command. You might get errors, or
you might have unexpected results.
reload Reloads the ASA, which loads the startup configuration and discards the
running configuration.
clear configure all
copy startup-config running-config
Loads the startup configuration and discards the running configuration
without requiring a reload.
Command Purpose
show running-config Views the running configuration.
show running-config command Views the running configuration of a specific command.
show startup-config Views the startup configuration.
Command Purpose
clear configure configurationcommand
[level2configurationcommand]
Example:
hostname(config)# clear configure aaa
Clears all the configuration for a specified command. If you only want to
clear the configuration for a specific version of the command, you can
enter a value for level2configurationcommand.
For example, to clear the configuration for all aaa commands, enter the
following command:
hostname(config)# clear configure aaa
To clear the configuration for only aaa authentication commands, enter
the following command:
hostname(config)# clear configure aaa authentication
no configurationcommand
[level2configurationcommand] qualifier
Example:
hostname(config)# no nat (inside) 1
Disables the specific parameters or options of a command. In this case, you
use the no command to remove the specific configuration identified by
qualifier.
For example, to remove a specific nat command, enter enough of the
command to identify it uniquely as follows:
hostname(config)# no nat (inside) 1