HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)
Command View XP Command Line Interface (CLI) reference guide 69
list wwn
Description This command displays the WWN information for the hosts that can access the LUNs. Each host
connected to the disk array is identified by its WWN.
WWNs are added to host groups within the ports, and all WWNs assigned to a host group can
access the LUNs in that host group. If you are using a firmware version before version 21.06.22, the
LUN accessibility by the hosts is also limited by the ports security switch. The WWNs can access the
LUNs only if the security switch of the ports is ON. When the port security switch is OFF, only
WWNs connected to the default host group can access the LUNs.
If you are using firmware version 21.06.22 or later, you can delete host groups (except for host
group 0), WWNs, or LUN paths with or without the port security turned on.
Use list wwn to query the WWNs in the host groups and ports for the following information items.
• Portname. This is the name of the port to which the WWNs are assigned. Ports in the disk array
are identified through their port name (for example, CL1-A and CL1-B).
• WWN. The worldwide name for the host. There can be a maximum of 255 WWNs defined for a
port.
• WWNNickname. The nickname used for each WWN. WWN Nicknames must be unique for a
port. If the nickname is not specified, then this column is null.
• HostGroupNickName. The host group to which the WWN has been assigned. Host groups
identify the type of hosts that can access the LUNs. The XP128/XP1024 supports up to 128 host
groups for each port; the XP10000/XP12000 can have a maximum of 256 host groups for each
port. Each host group is identified by its nickname. The host group nickname is unique for a port.
The first host group in each port is also the default host group. Each port has at least one host
group, known as the default host group, which is always accessible irrespective of the security
switch status.
Syntax list wwn [-port <portname...>]
[-hostGrp <HostGrpNickName...>] [-cmd <cmdname>]
[-category <cmdcategory>]
Arguments [-port <portname...>]
Displays the WWNs for only the specified ports. <portname> can be specified as one port, a
set of ports, or a range of ports (for example, 1A or 1A:1C:1D or 1A-1E). Port names must be
specified in truncated form (for example, 1A and not CL1-A) because the hyphen (-) is used to
specify a range. -port without any arguments generates an error.
[-hostGrp <HostGrpNickName...>]
Displays the WWNs for the specified host groups. <HostGrpNickname> can be specified as
one group nickname or a set of group nicknames (for example, nick1 or nick1:nick3).
-hostGrp without any arguments generates an error.
[-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 obtained can be
used as input.