1-4
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 5.0
78-16527-01
Chapter 1 Introducing the CLI Configuration Guide
CLI Behavior
•
Service
—This user role does not have direct access to the CLI. Service account users are logged
directly into a bash shell. Use this account for support and troubleshooting purposes only.
Unauthorized modifications are not supported and will require the device to be reimaged to
guarantee proper operation. You can create only one user with the service role.
When you log in to the service account, you receive the following warning:
******************************* WARNING *****************************************
UNAUTHORIZED ACCESS TO THIS NETWORK DEVICE IS PROHIBITED.
This account is intended to be used for support and troubleshooting purposes only.
Unauthorized modifications are not supported and will require this device to be
re-imaged to guarantee proper operation.
*********************************************************************************
Note
The service role is a special role that allows you to bypass the CLI if needed. Only a user with
Administrator privileges can edit the service account.
CLI Behavior
Follow these tips when using the IPS CLI:
Prompts
•
You cannot change the prompt displayed for the CLI commands.
•
User interactive prompts occur when the system displays a question and waits for user input. The
default input is displayed inside brackets [ ]. To accept the default input, press
Enter
.
Help
•
To display the help for a command, type
?
after the command.
The following example demonstrates the ? function:
sensor#
configure ?
terminal Configure from the terminal
sensor# configure
Note
When the prompt returns from displaying help, the command previously entered is displayed
without the ?.
•
You can type
?
after an incomplete token to view the valid tokens that complete the command. If
there is a trailing space between the token and the ?, you receive an ambiguous command error:
sensor#
show c ?
% Ambiguous command : “show c”
If you enter the token without the space, a selection of available tokens for the completion (with no
help description) appears:
sensor#
show c?
clock configuration
sensor# show c
•
Only commands available in the current mode are displayed by help.