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

Command View XP Command Line Interface (CLI) reference guide 65
Arguments [-ldev <ldev...>]
Displays only the paths to the specified LDEVs. <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. -ldev without any arguments generates an error.
If the -ldev option is used with the -cu option, the output will consist of all the paths to the
specified LDEV in the specified CUs.
[-cmd <cmdname>] or [-category <cmdcategory>]
Displays the output with the command name or category appended at the beginning of the record
with no headers. When used with -csv and -o, the formatted output can be used as input.
Example No options specified
list lun without any options displays all the paths defined in the disk array. Fields are PortName,
GroupNickName, LunID, CU, and LDEV.
PortName GroupNickName LunID CU LDEV
CL1-A GrpNick1 0 0 00
CL1-B GrpNick1 1 0 02
CL1-A GrpNick4 1 0 0A
CL1-E GrpNick1 0 0 00
CL1-a GrpNick1 0 0 00
-l option specified
list lun with the -l option displays all the paths defined in the disk array along with the total
number of paths to the CU:LDEV, emulation, device type and capacity.
PortName GroupNickName LunID CU LDEV TotalPaths Emulation DeviceType
CAPACITY
CL1-A GrpNick1 0 0 00 1 OPEN-E LUN 30
CL1-B GrpNick1 1 0 02 1 OPEN-3 LUN 20
CL1-A GrpNick4 1 0 0A 1 OPEN-E LUN 35
CL1-E GrpNick1 0 0 00 1 OPEN-9 LUN 20
CL1-a GrpNick1 0 0 00 2 OPEN-E CmdDev 10
All options are specified
If all the options are specified, the output displays the paths from the specified host groups within the
specified ports to the specified LDEVs in the specified CUs.
The format of the output is the same as the default output for list lun.
The -l option output is the same as for list lun with the -l option.