列示 FC 端口

使用 fc_port_list 命令可列示系统的 FC 端口的状态和配置。

fc_port_list [ module=ModuleNumber  | fcport=ComponentId ]

参数

名称 描述 必需 缺省值
module 限制为列示特定模块。 N 所有模块中的所有端口。
fcport 仅列示特定端口。 N 所有模块中的所有端口。

此命令可列示系统上所有或部分 FC 端口。 未指定任何参数时,会列示所有端口。 如果不带端口指定了模块,那么会列示此模块上的所有端口。 如果指定了端口,那么会列示单个端口。

针对每个端口,提供了以下信息:

  • 模块端口号(在模块的内部)的组件标识 1-N
  • WWPN
  • 端口标识
  • 角色(发起方、目标和对偶)
  • 用户已启用(是/否)
  • 最大支持速率:2GB、4GB 和 8GB;常量 - HBA 容量的函数
  • 配置的速率:2GB、4GB、8GB 和自动协商;不能大于最大支持速率
  • 当前活动速率:2GB、4GB 和 8GB;等于配置的速率,除非配置的速率是自动协商
  • 端口状态:Online、Offline、Loopback 和 Link Down(物理连接打开,但不存在逻辑连接)
  • 错误计数
  • 链路类型:Fabric Direct Attach、Private Loop、Point-to-Point、Public Loop 和 Unknown

示例:

fc_port_list

输出:

Component ID     Status   Currently Functioning   WWPN               Port ID    Role     
---------------- -------- ----------------------- ------------------ ---------- -------- 
1:FC_Port:12:1   OK       yes                     5001738035C601C0   FFFFFFFF   Target   
1:FC_Port:12:2   OK       yes                     5001738035C601C1   FFFFFFFF   Target   
1:FC_Port:12:3   OK       yes                     5001738035C601C2   FFFFFFFF   Target   
1:FC_Port:12:4   OK       yes                     5001738035C601C3   00EF009A   Target   
1:FC_Port:13:1   OK       yes                     5001738035C601D0   FFFFFFFF   Target   
1:FC_Port:13:2   OK       yes                     5001738035C601D1   FFFFFFFF   Target   
1:FC_Port:13:3   OK       yes                     5001738035C601D2   FFFFFFFF   Target   
1:FC_Port:13:4   OK       yes                     5001738035C601D3   FFFFFFFF   Target   
1:FC_Port:8:1    OK       yes                     5001738035C60180   FFFFFFFF   Target   
1:FC_Port:8:2    OK       yes                     5001738035C60181   FFFFFFFF   Target   
1:FC_Port:8:3    OK       yes                     5001738035C60182   FFFFFFFF   Target   
1:FC_Port:8:4    OK       yes                     5001738035C60183   00163AC0   Target   

Cont.:

User Enabled   Current Rate (GBaud)   Port State     Link Type              
-------------- ---------------------- -------------- ---------------------- 
yes            Auto                   Link Problem   None                   
yes            Auto                   Link Problem   None                   
yes            Auto                   Link Problem   None                   
yes            8                      Online         Fabric Direct Attach   
yes            Auto                   Link Problem   None                   
yes            Auto                   Link Problem   None                   
yes            Auto                   Link Problem   None                   
yes            Auto                   Link Problem   None                   
yes            Auto                   Link Problem   None                   
yes            Auto                   Link Problem   None                   
yes            Auto                   Link Problem   None                   
yes            16                     Online         Fabric Direct Attach   

Cont.:

Error Count   Active Firmware
------------- -----------------
0             8.3.40
0             8.3.40
0             8.3.40
0             8:3:40
0             8.3.40
0             8.3.40
0             8.3.40
0             8.3.40
0             8.3.40
0             8.3.40
0             8.3.40
0             8:3:40
字段标识 字段输出 缺省位置
component_id Component ID 1
status Status 2
currently_functioning Currently Functioning 3
port_num Port Number 不适用
wwpn WWPN 4
port_id Port ID 5
role Role 6
user_enabled User Enabled 7
max_supported_rate Maximum Supported Rate (GBaud) 不适用
configured_rate Configured Rate (GBaud) 不适用
current_rate Current Rate (GBaud) 8
port_state Port State 9
link_type Link Type 10
error_count Error Count 11
active_firmware Active Firmware 12
credit Credit 不适用
hba_vendor HBA Vendor 不适用
is_enabled Enabled 不适用
module Module 不适用
serial Serial 不适用
temperature Temperature 不适用
part_number Part Number 不适用
original_serial Original Serial 不适用
model Model 不适用
original_model Original Model 不适用
requires_service Requires Service 不适用
service_reason Service Reason 不适用
start_statstime 链路统计信息时间戳记 不适用
link_failure 链路故障 不适用
loss_of_sync 失去同步 不适用
loss_of_signal 信号丢失 不适用
primit_seq_prot_error 原语序列协议错误 不适用
invalid_tx_word 无效的传输字 不适用
invalid_crc 无效 CRC 不适用

访问控制

用户类别 许可权
存储管理员 允许
存储集成管理员 允许
应用程序管理员 允许
安全性管理员 不允许
只读用户 允许
技术人员 允许