2.6
The CLI command prompt
Overview
The Command Line Interface prompt shows the following information:
● The mode in which the CLI is currently operating.
Most commands can only be called in a particular mode. You should therefore check the
CLI mode based on the command prompt.
– User Exec mode:
CLI>
– Privileged Exec mode and configuration modes:
CLI(...)#
● The selected interface when the CLI is in an Interface Configuration mode.
In the Interface Configuration mode, the parameters are configured for one specific
interface. The command prompt is displayed in the form
CLI(config-if-$$$)#
where
the placeholder
$$$
is replaced by the identifier of the Interface. You select the Interface
by setting suitable parameters for the
interface
command.
● An identifier when the Trial mode is enabled.
If you first test changes to the configuration and then want to discard them, disable the Auto
save function with the
no auto-save
command. You are then in Trial mode.
Changes to the configuration that you have not saved are indicated by an asterisk in front
of the command prompt:
*CLI(...)#
.
You save the changes to the configuration with the command
write startup-config
.
With the
auto-save
command, you enable the Auto save function again.
Note
Upper and lower case
The Command Line Interface does not distinguish between upper case and lower case
letters.
Make sure, however, that names used by the operating system or other programs are
correctly written.
Blank
To use blanks in a text, enter the text in quotes, for example "H e l l o"
General information
2.6 The CLI command prompt
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
34
Configuration Manual, 07/2017, C79000-G8976-C361-06