Managing the Configuration
•
•
•
Note
Creating Text Configuration Files Offline
This guide describes how to use the CLI to configure the FWSM; 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 FWSM internal Flash memory. See
"Managing Software, Licenses, and Configurations,"
file to the FWSM.
In most cases, commands described in this guide are preceded by a CLI prompt. The prompt in the
following example is "hostname(config)#":
hostname(config)# context a
In the text configuration file you are not prompted to enter commands, so the prompt is omitted as
follows:
context a
For additional information about formatting the file, see
Interface."
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
3-6
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 3
Connecting to the Firewall Services Module and Managing the Configuration
for information on downloading the configuration
Appendix C, "Using the Command-Line
Chapter 24,
OL-20748-01