lstargetportfc

Use the lstargetportfc command to generate the list of host count and login count for each worldwide port names (WWPNs) required to set up Fibre Channel (FC) zoning and to display the current failover status of host IO ports.

Syntax

Read syntax diagramSkip visual syntax diagram lstargetportfc

Parameters

-delim delimiter
(Optional) Specify a delimiter to separate data in the output.
-nohdr
(Optional) Suppress the headings in the output.
-filtervalue attribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
-filtervalue?
(Optional) Displays a list of valid filter attributes.

Description

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.

This table provides the attribute values that can be displayed as output view data.
Table 1. lstargetportfc output
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 lsportfc port_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.
fc_io_port_id Indicates the Fibre Channel IO port ID.
portset_count Indicates the number of portsets the WWPN is added to.
host_count Indicates the number of hosts configured through WWPN through the same portset.
active_login_count Indicates the number of active login counts through WWPN. For a configured host, blocked login will not be included.