Skip to main content
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

將 CN1610 交換器 CL1 更換為 3232C 交換器 C1

貢獻者 netapp-yvonneo

請依照下列步驟將您的 CN1610 (CL1) 交換器更換為 Nexus 3232C (C1) 交換器。

步驟
  1. 驗證叢集狀態:

    network interface show -role cluster

    顯示範例

    以下範例表明,所需的叢集 LIF 已遷移到叢集交換器 C2 上託管的相應叢集連接埠:

    cluster::*> network interface show -role cluster
    (network interface show)
             Logical    Status      Network        Current  Current  Is
    Vserver  Interface  Admin/Oper  Address/Mask   Node     Port     Home
    -------- ---------- ----------- -------------- -------- -------- -----
    Cluster
             n1_clus1   up/up       10.10.0.1/24   n1       e0b      false
             n1_clus2   up/up       10.10.0.2/24   n1       e0b      true
             n1_clus3   up/up       10.10.0.3/24   n1       e0c      true
             n1_clus4   up/up       10.10.0.4/24   n1       e0c      false
             n2_clus1   up/up       10.10.0.5/24   n2       e0b      false
             n2_clus2   up/up       10.10.0.6/24   n2       e0b      true
             n2_clus3   up/up       10.10.0.7/24   n2       e0c      true
             n2_clus4   up/up       10.10.0.8/24   n2       e0c      false
    
    8 entries were displayed.
  2. 關閉所有節點上連接到 CL1 的節點連接埠:

    network port modify -node node-name -port port-name -up-admin false

    顯示範例

    以下範例顯示了節點 n1 和 n2 上特定連接埠的關閉:

    cluster::*> network port modify -node n1 -port e0a -up-admin false
    cluster::*> network port modify -node n1 -port e0d -up-admin false
    cluster::*> network port modify -node n2 -port e0a -up-admin false
    cluster::*> network port modify -node n2 -port e0d -up-admin false
  3. 關閉活動 3232C 交換器 C2 上的 ISL 連接埠 24、31 和 32。

    有關Cisco命令的更多信息,請參閱以下位置列出的指南: "Cisco Nexus 3000 系列 NX-OS 指令參考"

    顯示範例

    以下範例顯示了在活動 3232C 交換器 C2 上關閉 ISL 24、31 和 32:

    C2# configure
    C2(config)# interface ethernet 1/24/1-4
    C2(config-if-range)# shutdown
    C2(config-if-range)# exit
    C2(config)# interface ethernet 1/31-32
    C2(config-if-range)# shutdown
    C2(config-if-range)# exit
    C2(config)# exit
    C2#
  4. 拆下所有節點上連接到 CN1610 交換器 CL1 的電纜。

    使用適當的線纜,必須將所有節點上斷開的連接埠重新連接到 Nexus 3232C 交換器 C1。

  5. 從 Nexus 3232C C2 連接埠 e1/24 移除 QSFP28 纜線。

    您必須使用支援的Cisco QSFP28 光纖或直連接線將 C1 上的連接埠 e1/31 和 e1/32 連接到 C2 上的連接埠 e1/31 和 e1/32。

  6. 恢復連接埠 24 的配置,並移除 C2 上的臨時連接埠通道 2:

    有關Cisco命令的更多信息,請參閱以下位置列出的指南: "Cisco Nexus 3000 系列 NX-OS 指令參考"

    顯示範例

    以下範例展示了 `running-configuration`文件正在複製到 `startup-configuration`文件:

    C2# configure
    C2(config)# no interface breakout module 1 port 24 map 10g-4x
    C2(config)# no interface port-channel 2
    C2(config-if)# interface e1/24
    C2(config-if)# description 100GbE/40GbE Node Port
    C2(config-if)# spanning-tree port type edge
    Edge port type (portfast) should only be enabled on ports connected to a single
    host. Connecting hubs, concentrators, switches, bridges, etc...  to this
    interface when edge port type (portfast) is enabled, can cause temporary bridging loops.
    Use with CAUTION
    
    Edge Port Type (Portfast) has been configured on Ethernet 1/24 but will only
    have effect when the interface is in a non-trunking mode.
    
    C2(config-if)# spanning-tree bpduguard enable
    C2(config-if)# mtu 9216
    C2(config-if-range)# exit
    C2(config)# exit
    C2# copy running-config startup-config
    [] 100%
    Copy Complete.
  7. 在活動 3232C 交換器 C2 上啟用 ISL 連接埠 31 和 32。

    有關Cisco命令的更多信息,請參閱以下位置列出的指南: "Cisco Nexus 3000 系列 NX-OS 指令參考"

    顯示範例

    以下範例顯示了 ISL 31 和 32 被引入到 3232C 交換器 C2 上:

    C2# configure
    C2(config)# interface ethernet 1/31-32
    C2(config-if-range)# no shutdown
    C2(config-if-range)# exit
    C2(config)# exit
    C2# copy running-config startup-config
    [] 100%
    Copy Complete.
  8. 確認 ISL 連線是否正常 `up`在 3232C 開關 C2 上。

    有關Cisco命令的更多信息,請參閱以下位置列出的指南: "Cisco Nexus 3000 系列 NX-OS 指令參考"

    顯示範例

    以下範例展示了 ISL 連線的驗證過程。連接埠 Eth1/31 和 Eth1/32 指示 `(P)`這意味著兩個 ISL 連接埠都是 `up`在連接埠通道中:

    C1# show port-channel summary
    Flags:  D - Down        P - Up in port-channel (members)
            I - Individual  H - Hot-standby (LACP only)
            s - Suspended   r - Module-removed
            S - Switched    R - Routed
            U - Up (port-channel)
            M - Not in use. Min-links not met
    ------------------------------------------------------------------------------
    Group Port-       Type     Protocol  Member Ports
          Channel
    -----------------------------------------------------------------------------
    1     Po1(SU)     Eth      LACP      Eth1/31(P)   Eth1/32(P)
    
    C2# show port-channel summary
    Flags:  D - Down        P - Up in port-channel (members)
            I - Individual  H - Hot-standby (LACP only)
            s - Suspended   r - Module-removed
            S - Switched    R - Routed
            U - Up (port-channel)
            M - Not in use. Min-links not met
    ------------------------------------------------------------------------------
    Group Port-       Type     Protocol  Member Ports
          Channel
    ------------------------------------------------------------------------------
    1     Po1(SU)     Eth      LACP      Eth1/31(P)   Eth1/32(P)
  9. 在所有節點上啟用連接到新的 3232C 交換器 C1 的所有叢集互連連接埠:

    network port modify -node node-name -port port-name -up-admin true

    顯示範例

    以下範例顯示了連接到新 3232C 交換器 C1 的所有群集互連連接埠的啟動情況:

    cluster::*> network port modify -node n1 -port e0a -up-admin true
    cluster::*> network port modify -node n1 -port e0d -up-admin true
    cluster::*> network port modify -node n2 -port e0a -up-admin true
    cluster::*> network port modify -node n2 -port e0d -up-admin true
  10. 驗證叢集節點連接埠狀態:

    network port show -role cluster

    顯示範例

    以下範例顯示了驗證新 3232C 交換器 C1 上節點 n1 和 n2 的叢集互連連接埠是否正常運作的輸出。 up

    cluster::*> network port show -role cluster
           (network port show)
    
    Node: n1
                    Broadcast              Speed (Mbps) Health   Ignore
    Port  IPspace   Domain     Link  MTU   Admin/Open   Status   Health Status
    ----- --------- ---------- ----- ----- ------------ -------- -------------
    e0a   cluster   cluster    up    9000  auto/10000     -
    e0b   cluster   cluster    up    9000  auto/10000     -
    e0c   cluster   cluster    up    9000  auto/10000     -        -
    e0d   cluster   cluster    up    9000  auto/10000     -        -
    
    Node: n2
                    Broadcast              Speed (Mbps) Health   Ignore
    Port  IPspace   Domain     Link  MTU   Admin/Open   Status   Health Status
    ----- --------- ---------- ----- ----- ------------ -------- -------------
    e0a   cluster   cluster    up    9000  auto/10000     -
    e0b   cluster   cluster    up    9000  auto/10000     -
    e0c   cluster   cluster    up    9000  auto/10000     -
    e0d   cluster   cluster    up    9000  auto/10000     -
    
    8 entries were displayed.
下一步是什麼?

更換 CN1610 交換器 CL1 後,您可以"完成遷移"