Cli overview, Cli command syntax, 2 cli special keys – HP StorageWorks 1510i Modular Smart Array User Manual
Page 16
2.
Open your terminal emulation software. The following instructions demonstrate using HyperTerminal:
a. Click StartRun to open the Run dialog box. Type hypertrm.exe, and then click OK. When
accessed for the first time, the New Connection dialog box is displayed.
b. In the New Connection dialog box, type a name to associate with the connection between the
controller and the host server, and then click OK. The Connect To dialog box is displayed.
c. In the Connect To dialog box, expand the Connect using drop-down box, select the appropriate
COM port, and then click OK. The COM Properties dialog box is displayed.
d. In the COM1 Properties dialog box, enter the following settings, and then click OK.
Option
Setting
Bits per Second
19200
Data bits
8
Parity
None
Stop bits
1
Flow control
None
e. On the CLI Session screen, press Enter several times to display the command prompt (CLI>).
CLI Overview
Command strings are entered at the CLI prompt (CLI>). Commands must use a specific, preset syntax.
After a declarative command is entered and executed, the results are displayed at the CLI prompt.
When using the CLI, the following keystrokes have special functions:
Table 2 CLI special keys
Keyboard Keys
Arrow Key
Function
Ctrl+B
left arrow
Moves the cursor back one character
Ctrl+F
right arrow
Moves the cursor forward one character
Ctrl+P
up arrow
Recalls the previous command in the
command buffer
Ctrl+N
down arrow
Recalls the next command in the command
buffer
CAUTION:
The CLI uses a zero-based numbering system. For example, LUN numbers begin with 0.
CLI command syntax
The following syntax describes the basic command format used for all CLI commands:
verb noun
The following conventions apply to all CLI commands:
•
A basic command includes a word or phrase used to instruct the controller. Commands usually
contain a verb with a noun. Every CLI command must begin with a basic command.
•
CLI command strings include the basic command plus specific command parameters. Some
parameters are required; others are optional.
•
CLI commands are entered at the CLI prompt.
16
CLI setup and overview