lsfcportcandidate

Use the lsfcportcandidate command to list the Fibre Channel (FC) ports. This information is used to find open FC ports.

Syntax

lsfcportcandidate [ -nohdr ] [ -delimdelimiter ]

Parameters

-nohdr
(Optional) By default, headings are displayed for each column of data in a concise style view, and for each item of data in a detailed style view. The -nohdr parameter suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not displayed.
-delim delimiter
(Optional) By default in a concise view, all columns of data are space-separated. The width of each column is set to the maximum possible width of each item of data. In a detailed view, each item of data has its own row, and if the headers are displayed the data is separated from the header by a space. The -delim parameter overrides this behavior. Valid input for the -delim parameter is a one-byte character. If you enter -delim : on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter.

Description

This command returns a list of unconfigured, logged in FC ports.

Note: The lsfcportcandidate command presents a list of host FC ports that are logged in to nodes. However, there are situations when the information that is presented might include host FC ports that are no longer logged in or even part of the SAN fabric. For example, if a host FC port is unplugged from a switch but lsfcportcandidate shows the worldwide port name (WWPN) that is logged in to all nodes, the incorrect entry is removed when another device is plugged in to the same switch port that previously contained the removed host FC port.
Table 1 shows the possible output:
Table 1. lsfcportcandidate output
Attribute Description
fc_WWPN Indicates the FC WWPN is logged in but unconfigured (not assigned to a host). This value must be 16 hexadecimal characters.

An invocation example

lsfcportcandidate

The resulting output:

fc_WWPN
200600A0B813B7AC
200600A0B813B7AD