10 GbE Gateway
(sRB-20210G Module) User Manual
Version 2.0
141
Mellanox Technologies
Key
Function
Up Arrow or Ctrl-P
Recalls commands in the history buffer, beginning with the most
recent command. Repeat the key sequence to successively recall
older commands.
Down Arrow or
Ctrl-N
Return to more recent commands in the history buffer after recalling
commands with the Up Arrow or Ctrl-P. Repeat the key sequence to
recall successively more recent commands.
Ctrl-A
Moves the cursor to the beginning of the line.
Ctrl-B
Moves the cursor back one character.
Ctrl-D
Deletes the character at the cursor.
Ctrl-E
Moves the cursor to the end of the command line.
Ctrl-F
Moves the cursor forward one character.
Ctrl-K
Deletes all characters from the cursor to the end of the command
line.
Ctrl-R
Searches for commands that were entered previously in the CLI
session (command history). After you press Ctrl-R, enter the first
letter of the command you wish to recall; the command is displayed at
the CLI prompt.
Ctrl-T
Transposes the character to the left of the cursor with the character
located at the cursor.
Ctrl-X
Moves the cursor to the beginning of the command line.
Ctrl-W
Deletes the word to the left of the cursor.
Ctrl-Y
Recalls the most recent entry in the delete buffer. The delete buffer
contains the last ten items you have deleted or cut.
Esc B
Moves the cursor from the middle of the word to the beginning.
Esc C
Capitalizes the word from the cursor position to the end of the word.
Esc D
Deletes from the cursor to the end of the word.
Esc F
Moves the cursor forward one word.
Esc L
Changes the word to lowercase at the cursor position to the end of
the word.
14.3.2
CLI Command Structure
All CLI commands follow a simple structure that includes the factory-default name of the
module, a unique identifier, and the prompt, according to the correct level. The commands
prompt for further information as the user types.
There are two types of commands: the show (or view) commands, allowing you to view
specific information, and the set commands, allowing you to configure your system according
to your needs. The CLI provides the following basic commands: