Server Technology switched pro2 User Manual - page 131
Switched PRO2 – User Guide
Using the Command Line Interface (CLI)
•
131
Using CTRL-C to Cancel Commands
CLI command operations can be cancelled by using the keys CTRL-C, where applicable.
Editing Commands
Several editing actions are available when typing a command:
This edit action
…
does thi
s on the command line…
Left Arrow
Moves cursor to the left to correct a typed character.
Right Arrow
Moves cursor to the right to correct a typed character.
Backspace Key
Deletes typed command one character at a time.
Insert Key
Inserts a character in the command.
Delete Key
Deletes a character in the command.
Home Key
Moves to the first character of the command.
End Key
Moves to the last character of the command.
Esc
Clears typed characters from the command line.
CRTL-C
Cancels CLI operations, where applicable.
Retrieving Command History
The CLI provides a command history feature for the last X commands entered, using the Up and Down keys.
To display a previously entered command, press the arrow key. After the arrow key has been pressed, you
can then press the arrow key to display a previously entered command in reverse order. Pressing the keys
displays one command at a time.
To erase the command history, press Esc.
Displaying the Command Menu
The main menu of valid top-level commands can be displayed at any time during a CLI session.
At the command prompt, do one of the following:
• Type help and press Enter
• Type ? and press Enter
Example:
Switched CDU: help
Switched CDU commands:
add bstat connect create cstat delete dir list login logmon
logout lstat ocpstat off on ostat password ping pstat reboot
remove restart senstat set show shutdown status sysstat upsstat
ustat version
Example:
Switched CDU: ?
Switched CDU commands:
add bstat connect create cstat delete dir list login logmon
logout lstat ocpstat off on ostat password ping pstat reboot
remove restart senstat set show shutdown status sysstat upsstat
ustat version