Hp StorageWorks 2000 Family Modular Smart Array CLI reference guide (481600-002, May 2008)
16 HP StorageWorks 2000 Family Modular Smart Array CLI reference guide • May 2008
Operation Modes
By default the CLI is an interactive application. When you are logged into the CLI,
the CLI waits for a command to be entered and then responds to it. This single-
operation mode is known as interactive mode.
The following example shows interactively starting a
telnet session, logging into
the CLI, executing a command to show free (available) disks, and exiting the CLI:
CLI commands can also be scripted using a
telnet client like Expect or a Perl
library. Scripts can use interactive mode to execute single commands to emulate a
single-command mode.
$: telnet 172.22.5.55
Login: monitor
Password: ********
product
System Name: Test
System Location: Lab
Version: version
# show disks free
ID Serial# Vendor Rev. State Type Size(GB) Rate(Gb/s) SP
--------------------------------------------------------------------------
3 3KN0Z0BZ00007626NM4F SEAGATE 0003 AVAIL SAS 146 3.0
6 VDK41BT4CVLPNE ATA A9BA AVAIL SATA 250 3.0
7 3KN0Z6PD00007626NLV5 SEAGATE 0003 AVAIL SAS 146 1.5
10 3KN0Z09500007626NM28 SEAGATE 0003 AVAIL SAS 146 3.0
--------------------------------------------------------------------------
# exit