显示 Fibre Channel 端口¶
语法¶
fcstat
示例¶
显示所有 Fibre Channel 端口¶
fcstat
描述¶
显示所有 Fibre Channel 端口的状态。输出会显示每个 Fibre Channel 端口的关键信息。例如:
iPXE> fcstat
net0: 20:00:52:54:00:12:34:56 id 18.ae.02 node 10:00:52:54:00:12:34:56
[Link: up, 20:00:ae:a5:83:a2:78:1a fabric node 10:00:ae:a5:83:a2:78:1a]
20:00:ae:a5:83:a2:78:1a:
[Link: up, port net0 id ff.ff.fc]
20:00:00:1f:16:bc:fe:2f:
[Link: up, port net0 id 18.ae.01]
[Type 08 usage 0 link: up, params 00:00:01:b2]
在这个例子中可以看到有一个 Fibre Channel 端口(连接在网络接口 net0 上的 FCoE 端口),其端口名称为 20:00:52:54:00:12:34:56,端口 ID 为 18.ae.02,节点名称为 10:00:52:54:00:12:34:56。
更详细的信息显示该端口通过一个 Fibre Channel 交换机端口连接到 fabric,该交换机端口的端口名称为 20:00:ae:a5:83:a2:78:1a,节点名称为 10:00:ae:a5:83:a2:78:1a。
Fibre Channel 对端列表显示 iPXE 已成功登录到 Fibre Channel 名称服务器(周知端口 ID 为 ff.ff.fc),以及一个端口 ID 为 18.ae.01 的 Fibre Channel Protocol 目标。
另请参阅¶
ifopenifstatfcels- 全部 iPXE 命令列表
构建选项¶
此命令仅在启用构建选项 NET_PROTO_FCOE 和 FCMGMT_CMD 时可用。
备注¶
Fibre Channel 端口会为任何具备相应能力的网络接口自动创建。在底层网络接口被打开(例如使用 ifopen)之前,fcstat 不会列出任何 Fibre Channel 端口。网络接口打开后,iPXE 可能需要几秒钟才能创建对应的 Fibre Channel 端口。
你可以使用 fcels 命令控制登录 Fibre Channel fabric 及其他 Fibre Channel 对端的过程。
Fibre Channel over Ethernet(FCoE)通常在 Fibre Channel fabric 登录过程中自动创建的 VLAN 网络接口上运行。你也可以使用 vcreate 手动创建相关的 VLAN 接口。