跳到主要内容

配置 IP 交换机(MetroCluster IP 配置)

必须配置已更换的所有 IP 交换机。

关于本任务

此任务仅适用于 MetroCluster IP 配置。

两台交换机上都必须完成此任务。配置第一台交换机后,验证幸存站点上的存储访问不受影响。

如果幸存站点上的存储访问受到影响,则不得继续操作第二台交换机。
  1. 请参阅《MetroCluster IP 安装和配置指南》,了解替换交换机的布线和配置过程。

    MetroCluster IP 安装和配置指南

    可以使用以下部分中的过程:

    • 用线缆连接 IP 交换机

    • 配置 IP 交换机

  2. 如果在幸存站点禁用了 ISL,请启用 ISL 并验证 ISL 是否联机。
    1. 在第一台交换机上启用 ISL 接口:no shutdown

      以下示例显示了 Broadcom IP 交换机或 Cisco IP 交换机的命令。

      交换机供应商命令
      Broadcom
      (IP_Switch_A_1)> enable
      (IP_switch_A_1)# configure
      (IP_switch_A_1)(Config)# interface 0/13-0/16
      (IP_switch_A_1)(Interface 0/13-0/16 )# no shutdown
      (IP_switch_A_1)(Interface 0/13-0/16 )# exit
      (IP_switch_A_1)(Config)# exit
      Cisco
      IP_switch_A_1# conf t
      IP_switch_A_1(config)# int eth1/15-eth1/20
      IP_switch_A_1(config)# no shutdown
      IP_switch_A_1(config)# copy running startup
      IP_switch_A_1(config)# show interface brief
    2. 在伙伴交换机上启用 ISL 接口:no shutdown

      以下示例显示了 Broadcom IP 交换机或 Cisco IP 交换机的命令。

      交换机供应商命令
      Broadcom
      (IP_Switch_A_2)> enable
      (IP_switch_A_2)# configure
      (IP_switch_A_2)(Config)# interface 0/13-0/16
      (IP_switch_A_2)(Interface 0/13-0/16 )# no shutdown
      (IP_switch_A_2)(Interface 0/13-0/16 )# exit
      (IP_switch_A_2)(Config)# exit
      Cisco
      IP_switch_A_2# conf t
      IP_switch_A_2(config)# int eth1/15-eth1/20
      IP_switch_A_2(config)# no shutdown
      IP_switch_A_2(config)# copy running startup
      IP_switch_A_2(config)# show interface brief
    3. 验证是否已启用接口:show interface brief

      示例

      以下示例显示了 Cisco 交换机的输出。

      IP_switch_A_2(config)# show interface brief

      --------------------------------------------------------
      Port VRF Status IP Address Speed MTU
      --------------------------------------------------------
      mt0 -- up 10.10.99.10 100 1500
      --------------------------------------------------------
      Ethernet VLAN Type Mode Status Reason Speed Port
      Interface Ch
      #
      --------------------------------------------------------
      .
      .
      .
      Eth1/15 10 eth access up none 40G(D) --
      Eth1/16 10 eth access up none 40G(D) --
      Eth1/17 10 eth access down none auto(D) --
      Eth1/18 10 eth access down none auto(D) --
      Eth1/19 10 eth access down none auto(D) --
      Eth1/20 10 eth access down none auto(D) --
      .
      .
      .
      IP_switch_A_2#