HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

Command View XP Command Line Interface (CLI) reference guide 71
modify cmd_device
Description Use this command to:
Set an LDEV as a command device
Release an existing command device
Enable (set ON) command device security
Disable (set OFF) command device security
If you are using firmware version 21.06.22 or later, you can set or release a command device
without a path.
Syntax modify cmd_device -set <cu...>,<ldev...>
-security ON|OFF | -release <cu...>,<ldev...>
Arguments -set <cu...> or -release <cu...>
The CU whose LDEV is to be set or released as a command device. <cu> can be one value, a set
of values, or a range of values (for example, 0 or 0:2:3 or 0-4). CUs must be given in
hexadecimal.
-set <ldev...> or -release <ldev...>
The LDEV that is to be set or released as a command device. <ldev> can be one value, a set of
values, or a range of values (for example, A or 0:A:1A or 0-F). LDEVs must be given in
hexadecimal and are not case sensitive.
If more than one CU is specified, the specified LDEVs in all the specified CUs are modified.
-security ON|OFF
This option enables (sets ON) or disables (sets OFF) the command device security switch. The
number of switches specified should be equal to the number of LDEVs specified. If only one switch
is specified, all the LDEVs are assigned the specified switch value. If the number of switches
specified is equal to the number of LDEVs, then there is a one-to-one correspondence between
the LDEVs and the values. In all other cases this command generates an error. This option can be
used only with -set option.
Example
modify cmd_device -set 0,00
modify cmd_device -set 0,00:01
modify cmd_device -set 0,00 -security ON
modify cmd_device -set 0,00:01 -security OFF
modify cmd_device -release 0,01 -security ON,OFF
modify cmd_device -set 0:1,00