跳到主要内容

将缓冲区到缓冲区信用点分配给与 ISL 相同的端口组中的 F 端口

如果 F 端口与 ISL 位于相同的端口组中,必须向其分配缓冲区到缓冲区信用点。如果这些端口没有所需的缓冲区到缓冲区信用点,则 ISL 可能无法正常工作。如果 F 端口与 ISL 端口不在同一端口组中,则不需要执行此任务。

如果 F 端口位于包含 ISL 的端口组中,则必须对 MetroCluster 配置中的每台 FC 交换机执行此任务。

  1. 发出以下命令以进入配置模式:config t
  2. 输入以下命令以设置端口的接口配置模式:interface port-ID
  3. 禁用端口:shut
  4. 如果端口尚未处于 F 模式,请通过输入以下命令将端口设置为 F 模式:switchport mode F
  5. 使用以下命令将非 E 端口的缓冲区到缓冲区信用点设置为 1:switchport fcrxbbcredit 1
  6. 重新启用端口:no shut
  7. 退出配置模式:exit
  8. 将更新后的配置拷贝到启动配置中:copy running-config startup-config
  9. 通过输入以下命令验证分配给端口的缓冲区到缓冲区信用点:show port-resources module 1
  10. 发出以下命令以退出配置模式:exit
  11. 对光纤网中的另一台交换机重复这些步骤。
  12. 验证设置:show port-resource module 1

在本示例中,端口 fc1/40 是 ISL。端口 fc1/37、fc1/38 和 fc1/39 位于同一端口组中,必须进行配置。

以下命令显示为 fc1/37 到 fc1/39 配置的端口范围:
FC_switch_A_1# conf t
FC_switch_A_1(config)# interface fc1/37-39
FC_switch_A_1(config-if)# shut
FC_switch_A_1(config-if)# switchport mode F
FC_switch_A_1(config-if)# switchport fcrxbbcredit 1
FC_switch_A_1(config-if)# no shut
FC_switch_A_1(config-if)# exit
FC_switch_A_1# copy running-config startup-config

FC_switch_B_1# conf t
FC_switch_B_1(config)# interface fc1/37-39
FC_switch_B_1(config-if)# shut
FC_switch_B_1(config-if)# switchport mode F
FC_switch_B_1(config-if)# switchport fcrxbbcredit 1
FC_switch_A_1(config-if)# no shut
FC_switch_A_1(config-if)# exit
FC_switch_B_1# copy running-config startup-config

以下命令和系统输出显示正确应用了这些设置:

FC_switch_A_1# show port-resource module 1
...
Port-Group 11
Available dedicated buffers are 93

--------------------------------------------------------------------
Interfaces in the Port-Group B2B Credit Bandwidth Rate Mode
Buffers (Gbps)

--------------------------------------------------------------------
fc1/37 32 8.0 dedicated
fc1/38 1 8.0 dedicated
fc1/39 1 8.0 dedicated
...

FC_switch_B_1# port-resource module
...
Port-Group 11
Available dedicated buffers are 93

--------------------------------------------------------------------
Interfaces in the Port-Group B2B Credit Bandwidth Rate Mode
Buffers (Gbps)

--------------------------------------------------------------------
fc1/37 32 8.0 dedicated
fc1/38 1 8.0 dedicated
fc1/39 1 8.0 dedicated
...