lsdevp
Use the lsdevp command to list worldwide port names (WWPNs) for a subsystem.
Syntax
Parameters and arguments
- -user user_name
- Specifies an IBM Spectrum Control user ID.
- -pwd password
- Specifies the password for the IBM Spectrum Control user ID.
- -url url
- Specifies the Device server. The format of the URL is system:port_number, where system represents either the host name or IP address, and port_number represents the IBM Spectrum Control Device server port.
- -dev subsystem
- Specifies the globally unique identifier (GUID) of the storage subsystem. You can use the lsdev command to return information, including the GUID, for all storage subsystems that are discovered by IBM Spectrum Control.
- -l
- Specifies that the long version of the information is to be listed.
- -fs character
- Specifies the 7-bit character that separates the information in the output. If you omit this parameter, the information is separated by blank spaces.
- -header
- Suppresses the column headings in the output. If you omit this parameter, the column headings are included.
- -help | -h | -?
- Lists help information for the command.
- -qs character
- Specifies the 7-bit character that surrounds character strings and date stamps in the output. If you omit this parameter, character strings and date stamps are enclosed by double quotation marks (").
- -silent
- Suppresses all output for the command. If you omit this parameter, output is included.
Example: Listing worldwide port names
The following command lists the WWPNs for the specified subsystem:
tpctool> lsdevp -user me -pwd mypass -url myhost:myport -dev 2105.22232+0
The
following output is returned: WWPN
================
5005076300C79470
5005076300D09470
5005076300CB9470
5005076300CC9470
5005076300C29470
5005076300CF9470
5005076300C89470
5005076300C39470