Chapter 2
Getting Started
•
•
Clearing and Removing Configuration Settings
To erase settings, enter one of the following commands.
•
•
•
•
Note
Creating Text Configuration Files Offline
This guide describes how to use the CLI to configure the security appliance; when you save commands,
the changes are written to a text file. Instead of using the CLI, however, you can edit a text file directly
on your PC and paste a configuration at the configuration mode command-line prompt in its entirety, or
line by line. Alternatively, you can download a text file to the security appliance internal Flash memory.
See
the configuration file to the security appliance.
OL-10088-01
To view the running configuration of a specific command, enter the following command:
hostname# show running-config command
To view the startup configuration, enter the following command:
hostname# show startup-config
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
In multiple context mode, if you enter clear configure all from the system configuration, you
also remove all contexts and stop them from running.
Chapter 41, "Managing Software, Licenses, and Configurations,"
Cisco Security Appliance Command Line Configuration Guide
Working with the Configuration
for information on downloading
2-9