Checking the status of Fibre Channel and Ethernet ports by using the CLI
You can use the command-line interface (CLI) to check the status of the Fibre Channel and Ethernet ports.
Enter the following CLI command to check the status of the Fibre Channel and Ethernet ports:
lsportfcThe following output shows what is displayed when you enter the lsportfc command:
id fc_io_port_id port_id type port_speed node_id node_name WWPN nportid status attachment cluster_use adapter_location adapter_port_id
0 1 1 fc 8Gb 1 node1 500507680140BADD 0E2411 active switch local_partner 1 1
1 2 2 fc 8Gb 1 node1 500507680130BADD 0E2412 active switch local_partner 1 2
2 3 3 fc N/A 1 node1 500507680110BADD 000000 inactive_unconfigured none partner 1 3
3 4 4 fc N/A 1 node1 500507680120BADD 000000 inactive_unconfigured none none 1 4
4 5 3 ethernet 10Gb 1 node1 500507680150BADD 0E2413 active switch local 2 1
5 6 4 ethernet 10Gb 1 node1 500507680160BADD 0E2414 inactive_configured switch local 2 2
6 1 1 fc N/A 2 node2 500507680140BADE 000000 inactive_unconfigured none local_partner 2 3
7 2 2 fc N/A 2 node2 500507680130BADE 000000 inactive_unconfigured none local_partner 2 4
8 3 3 fc N/A 2 node2 500507680110BADE 000000 inactive_unconfigured none partner 3 1
9 4 4 fc N/A 2 node2 500507680120BADE 0E2414 active switch none 3 2
10 5 3 ethernet 10Gb 2 node2 500507680150BADE 0E2415 active switch local 3 3
11 6 4 ethernet 10Gb 2 node2 500507680160BADE 0E2416 active switch local 3 4
The previous example shows information for the Fibre Channel and Ethernet ports. For each port, the port ID and the status of the port are displayed. In this example, the ports show statuses of active, inactive_configured, and inactive_unconfigured.
You can use the command-line interface (CLI) to check the status of the Ethernet ports.
Enter the following CLI command to check the status of the Ethernet ports:
lsportipid node_id node_name IP_address mask gateway IP_address_6 prefix_6 gateway_6 MAC duplex state speed failover link_state host remote_copy host_6 remote_copy_6 remote_copy_status remote_copy_status_6 vlan vlan_6 adapter_location adapter_port_id lossless_iscsi lossless_iscsi6 storage storage_6 host_port_grp_id rdma_type
1 1 node1 192.0.2.102 255.255.255.0 192.0.2.1 6c:ae:8b:3e:f3:82 Full configured 1Gb/s no active yes 0 0 0 1 off yes 2
1 1 node1 6c:ae:8b:3e:f3:82 Full unconfigured 1Gb/s yes active 0 0 0 1 0
2 1 node1 192.51.100.102 255.255.255.0 192.0.2.1 6c:ae:8b:3e:f3:83 Full configured 1Gb/s no active yes 0 0 0 2 off yes 2
2 1 node1 6c:ae:8b:3e:f3:83 Full unconfigured 1Gb/s yes active 0 0 0 2 0
3 1 node1 6c:ae:8b:3e:f3:84 unconfigured no inactive 0 0 0 3 0
3 1 node1 6c:ae:8b:3e:f3:84 unconfigured yes inactive 0 0 0 3 0
4 1 node1 192.51.100.99 255.255.255.0 192.51.100.1 24:8a:07:1e:34:26 Full configured 25Gb/s no active yes 0 0 1 1 off yes 1 RoCE
4 1 node1 24:8a:07:1e:34:26 Full unconfigured 25Gb/s yes active 0 0 1 1 0 RoCE
5 1 node1 24:8a:07:1e:34:27 Full unconfigured 25Gb/s no active 0 0 1 2 0 RoCE
5 1 node1 24:8a:07:1e:34:27 Full unconfigured 25Gb/s yes active 0 0 1 2 0 RoCE
6 1 node1 00:07:43:39:84:60 unconfigured no inactive 0 0 2 1 0 iWARP
6 1 node1 00:07:43:39:84:60 unconfigured yes inactive 0 0 2 1 0 iWARP
7 1 node1 00:07:43:39:84:68 unconfigured no inactive 0 0 2 2 0 iWARP
7 1 node1 00:07:43:39:84:68 unconfigured yes inactive 0 0 2 2 0 iWARP
The previous example shows information for the Ethernet ports. For each port, the link_state status shows the status of the port and the state status shows whether the port is configured. In this example, the ports show link states of active and inactive, and states of configured and unconfigured.