Use the lstargetportfc command to generate the lists of worldwide port names (WWPNs) required to set up Fibre Channel (FC) zoning and to display the current failover status of host I/O ports.
This command generates lists of worldwide port names (WWPNs) required to set up Fibre Channel (FC) zoning. This command also displays the current failover status of host I/O ports.
Attribute | Description |
---|---|
id | Indicates the ID of the port. |
WWPN | Indicates the WWPN of the port. The value is hexadecimal. |
WWNN | Indicates the worldwide node name (WWNN) of the port. The value is hexadecimal. |
port_id | Indicates the system port ID. The value is the same as the lsportfcport_id field. |
owning_node_id | Indicates the ID of the node that owns the port. Note: This node can
be offline whether the port is online or offline.
|
current_node_id | Indicates the ID of the node on which this port is active. The value is blank if the port is not active on any node |
nportid | Indicates the nportid hexadecimal value. |
host_io_permitted | Indicates whether host I/O operations can run on the port. The values are yes and no. |
virtualized | Indicates whether it is a virtualized port. The values are yes and no (which indicates that this port cannot be online on any node other than the owning node). |
protocol | Indicates the protocol supported by the port. The values are
scsi and nvme. Note: Some Fibre channel adapters
and platforms do not support NVMe over Fibre Channel.
|
This example shows the concise output with the protocol field.
lstargetportfc
The detailed resulting output:
id WWPN WWNN port_id owning_node_id current_node_id nportid host_io_permitted virtualized protocol 1 500507680B21C5C6 500507680B00C5C6 1 1 1 071100 no no scsi 2 500507680B25C5C6 500507680B00C5C6 1 1 1 071102 yes yes scsi 3 500507680B29C5C6 500507680B00C5C6 1 1 1 071101 yes yes nvme 4 500507680B22C5C6 500507680B00C5C6 2 1 1 071500 no no scsi 5 500507680B26C5C6 500507680B00C5C6 2 1 1 071502 yes yes scsi 6 500507680B2AC5C6 500507680B00C5C6 2 1 1 071501 yes yes nvme 49 500507680B21C5C7 500507680B00C5C7 1 2 2 071400 no no scsi 50 500507680B25C5C7 500507680B00C5C7 1 2 2 071401 yes yes scsi 51 500507680B29C5C7 500507680B00C5C7 1 2 2 071402 yes yes nvme 52 500507680B22C5C7 500507680B00C5C7 2 2 2 070900 no no scsi 53 500507680B26C5C7 500507680B00C5C7 2 2 2 070901 yes yes scsi 54 500507680B2AC5C7 500507680B00C5C7 2 2 2 070902 yes yes nvme
This example shows the full output with the protocol field.
lstargetportfc 6
The detailed resulting output:
id 6 WWPN 500507680B2AC5C6 WWNN 500507680B00C5C6 port_id 2 owning_node_id 1 current_node_id 1 nportid 071501 host_io_permitted yes virtualized yes protocol nvme