7210 SAS-MXP, R6, R12, S, SX, T BASIC SYSTEM
CONFIGURATION GUIDE RELEASE 22.9.R1
CLI usage
The exec command and the associated exec files can be used to conveniently execute a number of
commands that are always executed together in the same order. For example, an exec command can be
used by a user to define a set of commonly used standard command aliases.
The echo command can be used within an exec command file to display messages on screen while the
file executes.
2.7 Entering CLI commands
This section provides information about entering CLI commands and parameters.
2.7.1 Command completion
The CLI supports both command abbreviation and command completion. If the keystrokes entered are
enough to match a valid command, the CLI displays the remainder of the command syntax when the Tab
key or space bar is pressed. When typing a command, the Tab key or space bar invokes auto-completion.
If the keystrokes entered are definite, auto-completion will complete the command. If the letters are
not sufficient to identify a specific command, pressing the Tab key or space bar will display commands
matching the letters entered. System commands are available in all CLI context levels.
2.7.2 Unordered parameters
In a context, the CLI accepts command parameters in any order as long as the command is formatted
in the correct command keyword and parameter syntax. Command completion will still work as long as
enough recognizable characters of the command are entered.
The following output shows different static-route command syntax and an example of the command
usage.
2.7.3 Editing keystrokes
When entering a command, special keystrokes allow for editing of the command. The following table
describes the command editing keystrokes.
Table 10: Command editing keystrokes
Editing action Keystrokes
Delete current character Ctrl-d
Delete text up to cursor Ctrl-u
Delete text after cursor Ctrl-k
Move to beginning of line Ctrl-a
Move to end of line Ctrl-e
3HE 18197 AAAB TQZZA
© 2022 Nokia.
Use subject to Terms available at: www.nokia.com/terms/.
36
SPACER TEXT