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). |
This example shows a single I/O group with two nodes. One 2-port FC card is installed on each node, and the I/O group's fctargetportmode setting is set to disabled.
lstargetportfc
The detailed resulting output:
id WWPN WWNN port_id owning_node_id current_node_id nportid host_io_permitted virtualized 1 500507680140BADD 500507680100BADD 1 1 1 0E2411 yes no 2 500507680141BADD 500507680100BADD 1 1 000000 no yes 3 500507680130BADD 500507680100BADD 2 1 1 0E2412 yes no 4 500507680131BADD 500507680100BADD 2 1 000000 no yes 5 500507680140BADE 500507680100BADE 1 2 2 0E2413 yes no 6 500507680141BADE 500507680100BADE 1 2 000000 no yes 7 500507680130BADE 500507680100BADE 2 2 2 0E2414 yes no 8 500507680131BADE 500507680100BADE 2 2 000000 no yes
This example shows a single I/O group with two nodes. One 2-port FC card is installed on each node, and the I/O group's fctargetportmode setting is set to transitional.
lstargetportfc
The detailed resulting output:
id WWPN WWNN port_id owning_node_id current_node_id nportid host_io_permitted virtualized 1 500507680140BADD 500507680100BADD 1 1 1 0E2411 yes no 2 500507680141BADD 500507680100BADD 1 1 1 0E2412 yes yes 3 500507680130BADD 500507680100BADD 2 1 1 0E2413 yes no 4 500507680131BADD 500507680100BADD 2 1 1 0E2414 yes yes 5 500507680140BADE 500507680100BADE 1 2 2 0E2415 yes no 6 500507680141BADE 500507680100BADE 1 2 2 0E2416 yes yes 7 500507680130BADE 500507680100BADE 2 2 2 0E2417 yes no 8 500507680131BADE 500507680100BADE 2 2 2 0E2418 yes yes