lsportfc

Use the lsportfc command to view the status and properties of the Fibre Channel (FC) input/output (I/O) ports for the clustered system.

Syntax

Read syntax diagramSkip visual syntax diagram lsportfc object_id

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.
-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.
object_id
(Optional) Specifies the ID of an object that is displayed in the view.

Description

This command enables you to view information about clustered system port status.

This table provides the attribute values that can be displayed as output view data.
The following table shows the possible outputs:
Table 1. lsportfc output
Attribute Description
id Indicates a unique value for the object. The value must be a numeric 0 or greater.
fc_io_port_id Indicates the FC I/O port ID. The value must be a positive integer.
port_id Indicates the platform port ID. The value must be a positive integer.
type Indicates the type of platform port. The value can be either fc or ethernet.
port_speed Indicates the I/O port speed. The value is XGb. The value is N/A if the port has never been active. If the port is inactive, it shows the last-known port speed.
node_id Indicates the ID of the node containing the port. The value must be a positive integer.
node_name Indicates the name of the node containing the port.
WWPN Indicates the I/O port worldwide port name (WWPN). The value must be in 16-character hexadecimal format.
nportid Indicates the most recent NPort ID used by the port. The value must be in 6-character hexadecimal format, and all zeroes if never active.
status Indicates whether the port is configured to a device of Fibre Channel (FC) port. The values are:
  • active
  • inactive_configured
  • inactive_unconfigured.
  • disabled
switch_WWPN Indicates the WWPN of the device that was most recently attached to the port. The value must be in 16-character hexadecimal format, or all zeroes if the port has never been active.
fpma Indicates the Fabric Provided MAC Address (FPMA) assigned to the Fiber Channel over Ethernet (FCoE) VN_PORT port. The value is a formatted 48-bit MAC address. If the switch is connected to an FCF, the value is N/A for ports that are never active. If the port is inactive the last-known FPMA is used.
vlan_id Indicates the VLAN ID on which a specific VN port is communicating. The value is up to a 4-character decimal string. The value is N/A for ports that are never active. If the port is inactive, the last-known VLAN ID is used.
fcf_MAC Indicates the MAC address for the switch attached to the VN port. The value is N/A for ports that are never active. The value is a formatted 48-bit MAC address. If the port is inactive, the last known fcf_MAC value is used.
attachment Indicates if the port is attached to an FC switch or directly to an FC host. (Or, if the port is offline, it specifies which one it was attached to when last online.)
cluster_use Indicates the node's current capability for local or partner cluster communications:
  • none indicates the port cannot be used for any node communication
  • local indicates the port can be used for local system node communication
  • partner indicates the port can be used for partner system node communication
  • local_partner indicates the port can be used for both local and partner system node communication
topology Indicates the current topology:
  • pp refers to point-to-point
  • al refers to arbitrated loop
topology_auto Indicates whether the topology is currently automatic - yes or no.
adapter_id Indicates the adapter in a canister the port is in: 1 is left, 2 is right
adapter_location Indicates the location of the adapter containing the Ethernet port (any number from 0 to 6).
adapter_port_id Indicates the location of the Ethernet port that is in the adapter (any number from 1 to 4).
fabric_WWN Indicates the World Wide Name (WWN) value for the connected fabric string. The value must be in 16-character hexadecimal format, or all zeroes if the port has never been active or the port is not connected to a fabric.