7210 SAS-MXP, R6, R12, S, SX, T BASIC SYSTEM
CONFIGURATION GUIDE RELEASE 22.9.R1
CLI usage
Editing action Keystrokes
Get prior command from history Ctrl-p
Get next command from history Ctrl-n
Move cursor left Ctrl-b
Move cursor right Ctrl-f
Move back one word Esc-b
Move forward one word Esc-f
Convert rest of word to uppercase Esc-c
Convert rest of word to lowercase Esc-l
Delete remainder of word Esc-d
Delete word up to cursor Ctrl-w
Transpose current and previous character Ctrl-t
Enter command and return to root prompt Ctrl-z
Refresh input line Ctrl-l
2.7.4 Absolute paths
CLI commands can be executed in any context by specifying the full path from the CLI root. To execute an
out-of-context command enter a forward slash ‟/” or backward slash ‟\” at the beginning of the command
line. The forward slash ‟/” or backward slash ‟\” cannot be used with the environment alias command.
The commands are interpreted as absolute path. Spaces between the slash and the first command will
return an error. Commands that are already global (such as ping, telnet, exit, back, and so on) cannot be
executed with a forward slash ‟/” or backward slash ‟\”at the beginning of the command line.
Example
*A:ALA-12# configure router
*A:ALA-12>config>router# interface system address 1.2.3.4
*A:ALA-12>config>router# /admin save
*A:ALA-12>config>router# \clear router interface
*A:ALA-12>config>router#
The command may or may not change the current context depending on whether or not it is a leaf
command. This is the same behavior the CLI performs when CLI commands are entered individually, for
example:
Example
*A:ALA-12# admin
*A:ALA-12>admin# save
3HE 18197 AAAB TQZZA
© 2022 Nokia.
Use subject to Terms available at: www.nokia.com/terms/.
37
SPACER TEXT