Using The Command Line Interface Tool; Handling Command Errors; Using Interactive Commands - Cisco ASA 5505 Configuration Manual

Asa 5500 series
Hide thumbs Also See for ASA 5505:
Table of Contents

Advertisement

Chapter 2
Getting Started

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
Authorization" section on page 31-2
at the bottom of the main ASDM application window to ensure that you have the required privileges to
execute privileged-level CLI commands.
Commands entered via the ASDM CLI tool might function differently from those entered through a
Note
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.
Choose the type of command (single line or multiple line) that you want, and then choose the command
Step 2
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.
Check the Enable context-sensitive help (?) check box to provide context-sensitive help for this feature.
Step 5
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.
ASDM supports almost all CLI commands. See the Cisco ASA 5500 Series Command Reference for a
Note
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
OL-20339-01
Showing Commands Ignored by ASDM on the Device, page 2-10
for more
information.
Review your privilege level in the status bar
Cisco ASA 5500 Series Configuration Guide using ASDM
Using the Command Line Interface
"About
2-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asa 5510Asa 5540Asa 5520Asa 5550Asa 5580

Table of Contents