使用 CLI 检查光纤通道和以太网端口的状态

您可以使用命令行界面 (CLI) 来检查光纤通道和以太网端口的状态。

输入以下 CLI 命令来检查光纤通道和以太网端口的状态:

lsportfc

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

上一个示例显示光纤通道和以太网端口的信息。对于每个端口,将显示端口标识和端口状态。在此示例中,端口显示了状态:activeinactive_configuredinactive_unconfigured