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:
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