2-9
Cisco ASA 5500 Series Configuration Guide using ASDM
OL-20339-01
Chapter 2 Getting Started
Using the Command Line Interface
• Showing Commands Ignored by ASDM on the Device, page 2-10
Using the Command Line Interface Tool
This feature provides a text-based tool for sending commands to the adaptive security appliance and
viewing the results.
The commands you can enter with the CLI tool depend on your user privileges. See the “About
Authorization” section on page 31-2 for more information. Review your privilege level in the status bar
at the bottom of the main ASDM application window to ensure that you have the required privileges to
execute privileged-level CLI commands.
Note Commands entered via the ASDM CLI tool might function differently from those entered through a
terminal connection to the adaptive security appliance.
To use the CLI tool, perform the following steps:
Step 1 In the main ASDM application window, choose Tools > Command Line Interface.
The Command Line Interface dialog box appears.
Step 2 Choose the type of command (single line or multiple line) that you want, and then choose the command
from the drop-down list, or type it in the field provided.
Step 3 Click Send to execute the command.
Step 4 To enter a new command, click Clear Response, and then choose (or type) another command to execute.
Step 5 Check the Enable context-sensitive help (?) check box to provide context-sensitive help for this feature.
Uncheck this check box to disable the context-sensitive help.
Step 6 After you have closed the Command Line Interface dialog box, if you changed the configuration, click
Refresh to view the changes in ASDM.
Handling Command Errors
If an error occurs because you entered an incorrect command, the incorrect command is skipped and the
remaining commands are processed. A message appears in the Response area to inform you whether or
not any error occurred, as well as other related information.
Note ASDM supports almost all CLI commands. See the Cisco ASA 5500 Series Command Reference for a
list of commands.
Using Interactive Commands
Interactive commands are not supported in the CLI tool. To use these commands in ASDM, use the
noconfirm keyword if available, as shown in the following command:
crypto key generate rsa modulus 1024 noconfirm