Clearing and Removing Configuration Settings in ASA

Clearing and Removing Configuration Settings

To erase settings, enter one of the following commands.

•To clear all the configuration for a specified command, enter the following command:

hostname(config)# clear configure configurationcommand [level2configurationcommand]

This command clears all the current configuration for the specified configuration 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

•To disable the specific parameters or options of a command, enter the following command:

hostname(config)# no configurationcommand [level2configurationcommand] qualifier

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

•To erase the startup configuration, enter the following command:

hostname(config)# write erase

•To erase the running configuration, enter the following command:

hostname(config)# clear configure all

http://www.cisco.com/en/US/docs/security/asa/asa72/configuration/guide/start.html#wp1055130