2-9
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 2 Getting Started
Working with the Configuration
•
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
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
Note
In multiple context mode, if you enter
clear configure all
from the system configuration, you
also remove all contexts and stop them from running.
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
Chapter 41, “Managing Software, Licenses, and Configurations,”
for information on downloading
the configuration file to the security appliance.
Summary of Contents for 500 Series
Page 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Page 45: ...P A R T 1 Getting Started and General Information ...
Page 46: ......
Page 277: ...P A R T 2 Configuring the Firewall ...
Page 278: ......
Page 561: ...P A R T 3 Configuring VPN ...
Page 562: ......
Page 891: ...P A R T 4 System Administration ...
Page 892: ......
Page 975: ...P A R T 5 Reference ...
Page 976: ......