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.

Use the lsportfc command to check the status of the Fibre Channel and Ethernet ports:
lsportfc

Example output for 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