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

升級您的參考設定檔(RCF)

貢獻者 netapp-yvonneo

當您的運行交換器上已安裝了現有版本的 RCF 檔案時,您需要升級 RCF 版本。

開始之前

請確保您擁有以下物品:

  • 交換器配置的目前備份。

  • 一個功能齊全的群集(日誌中沒有錯誤或類似問題)。

  • 當前的RCF。

  • 如果您要更新 RCF 版本,則需要在 RCF 中進行啟動配置,以反映所需的啟動映像。

    如果需要更改啟動配置以反映目前的啟動映像,則必須在重新套用 RCF 之前進行更改,以便在以後的重新啟動中實例化正確的版本。

註 在此過程中不需要任何可操作的交換器間連結 (ISL)。這是設計使然,因為 RCF 版本的變更可能會暫時影響 ISL 連線。為確保叢集運作不會中斷,以下步驟將所有叢集 LIF 遷移到運作夥伴交換機,同時在目標交換器上執行對應步驟。
警告 在安裝新的交換器軟體版本和 RCF 之前,必須清除交換器設定並執行基本設定。在清除交換器設定之前,您必須使用序列控制台連接到交換機,或保留基本設定資訊。

第一步:準備升級

  1. 顯示每個節點上連接到叢集交換器的叢集連接埠:

    network device-discovery show

    顯示範例
    cluster1::*> network device-discovery show
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  --------
    cluster1-01/cdp
                e0a    cs1                       Ethernet1/7       N9K-C9336C
                e0d    cs2                       Ethernet1/7       N9K-C9336C
    cluster1-02/cdp
                e0a    cs1                       Ethernet1/8       N9K-C9336C
                e0d    cs2                       Ethernet1/8       N9K-C9336C
    cluster1-03/cdp
                e0a    cs1                       Ethernet1/1/1     N9K-C9336C
                e0b    cs2                       Ethernet1/1/1     N9K-C9336C
    cluster1-04/cdp
                e0a    cs1                       Ethernet1/1/2     N9K-C9336C
                e0b    cs2                       Ethernet1/1/2     N9K-C9336C
  2. 檢查每個叢集連接埠、節點儲存連接埠和儲存架連接埠的管理和運作狀態。

    1. 確認叢集所有連接埠均已啟動且狀態正常:

      network port show -ipspace Cluster

      顯示範例
      cluster1::*> network port show -ipspace Cluster
      
      Node: cluster1-01
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/100000 healthy false
      e0d       Cluster      Cluster          up   9000  auto/100000 healthy false
      
      Node: cluster1-02
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/100000 healthy false
      e0d       Cluster      Cluster          up   9000  auto/100000 healthy false
      8 entries were displayed.
      
      Node: cluster1-03
      
         Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
      
      Node: cluster1-04
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
    2. 確認所有叢集介面(LIF)都位於主連接埠上:

      network interface show -vserver Cluster

      顯示範例
      cluster1::*> network interface show -vserver Cluster
                  Logical            Status     Network           Current      Current Is
      Vserver     Interface          Admin/Oper Address/Mask      Node         Port    Home
      ----------- ------------------ ---------- ----------------- ------------ ------- ----
      Cluster
                  cluster1-01_clus1  up/up     169.254.3.4/23     cluster1-01  e0a     true
                  cluster1-01_clus2  up/up     169.254.3.5/23     cluster1-01  e0d     true
                  cluster1-02_clus1  up/up     169.254.3.8/23     cluster1-02  e0a     true
                  cluster1-02_clus2  up/up     169.254.3.9/23     cluster1-02  e0d     true
                  cluster1-03_clus1  up/up     169.254.1.3/23     cluster1-03  e0a     true
                  cluster1-03_clus2  up/up     169.254.1.1/23     cluster1-03  e0b     true
                  cluster1-04_clus1  up/up     169.254.1.6/23     cluster1-04  e0a     true
                  cluster1-04_clus2  up/up     169.254.1.7/23     cluster1-04  e0b     true
    3. 確認所有節點儲存連接埠均已啟動且狀態正常:

      storage port show -port-type ENET

      顯示範例
      cluster1::*> storage port show -port-type ENET
      
      
                                            Speed
      Node               Port Type  Mode    (Gb/s) State    Status
      ------------------ ---- ----- ------- ------ -------- -----------
      cluster1-01
                         e5a ENET  -         100   enabled  online
                         e3b ENET  -         100   enabled  online
      cluster1-02
                         e5a ENET  -         100   enabled  online
                         e3b ENET  -         100   enabled  online
      .
      .
    4. 驗證所有儲存架連接埠是否處於正常狀態:

      storage shelf port show

      顯示範例
      cluster1::> storage shelf port show
      
      Shelf ID Module State        Internal?
      ----- -- ------ ------------ ---------
      1.4
             0 A      connected    false
             1 A      connected    false
             2 B      connected    false
             3 B      connected    false
      .
      .
    5. 確認交換器是否處於監控狀態。

      system switch ethernet show

    顯示範例
    cluster1::*> system switch ethernet show
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    s1
                                storage-network    10.228.143.216   N9K-C9336C-FX2
         Serial Number: FDOXXXXXXB
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        10.4(6)
        Version Source: CDP/ISDP
    
    
    s2
                                storage-network    10.228.143.219   N9K-C9336C-FX2
         Serial Number: FDOXXXXXXC
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        10.6(2)
        Version Source: CDP/ISDP
    
    
    cs1
                                cluster-network    10.228.184.39    N9K-C9336C-FX2
         Serial Number: FLMXXXXXXXJ
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        10.4(6)
        Version Source: CDP/ISDP
    
    
    cs2
                                cluster-network    10.228.184.40    N9K-C9336C-FX2
         Serial Number: FLMXXXXXXXG
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        10.6(2)
        Version Source: CDP/ISDP
  3. 停用群集 LIF 的自動回滾功能。

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert false

步驟 2:設定埠

  1. 在叢集交換器 cs1 上,關閉連接到節點叢集連接埠的連接埠。

    cs1(config)# interface eth1/1/1-2,eth1/7-8

    cs1(config-if-range)# shutdown

    警告 請務必關閉 所有 已連接的叢集連接埠,以避免任何網路連線問題。如需更多詳細資訊,請參閱知識庫文章 "在切換作業系統升級期間遷移叢集 LIF 時,節點脫離仲裁。"
  2. 驗證叢集 LIF 是否已故障轉移到叢集交換器 cs1 上託管的連接埠。這可能需要幾秒鐘。

    network interface show -vserver Cluster

    顯示範例
    cluster1::*> network interface show -vserver Cluster
                Logical           Status     Network            Current       Current Is
    Vserver     Interface         Admin/Oper Address/Mask       Node          Port    Home
    ----------- ----------------- ---------- ------------------ ------------- ------- ----
    Cluster
                cluster1-01_clus1 up/up      169.254.3.4/23     cluster1-01   e0a     true
                cluster1-01_clus2 up/up      169.254.3.5/23     cluster1-01   e0a     false
                cluster1-02_clus1 up/up      169.254.3.8/23     cluster1-02   e0a     true
                cluster1-02_clus2 up/up      169.254.3.9/23     cluster1-02   e0a     false
                cluster1-03_clus1 up/up      169.254.1.3/23     cluster1-03   e0a     true
                cluster1-03_clus2 up/up      169.254.1.1/23     cluster1-03   e0a     false
                cluster1-04_clus1 up/up      169.254.1.6/23     cluster1-04   e0a     true
                cluster1-04_clus2 up/up      169.254.1.7/23     cluster1-04   e0a     false
  3. 驗證叢集是否運作正常:

    cluster show

    顯示範例
    cluster1::*> cluster show
    Node                 Health  Eligibility   Epsilon
    -------------------- ------- ------------  -------
    cluster1-01          true    true          false
    cluster1-02          true    true          false
    cluster1-03          true    true          true
    cluster1-04          true    true          false
  4. 如果您尚未儲存目前交換器配置,請將以下命令的輸出複製到文字檔案中:

    show running-config

    1. 記錄目前運行配置和正在使用的 RCF 檔案之間的任何自訂新增內容(例如,貴組織的 SNMP 配置)。

    2. 對於 NX-OS 10.2 及更高版本,請使用 `show diff running-config`用於與 bootflash 中儲存的 RCF 檔案進行比較的命令。否則,請使用第三方差異比較工具。

  5. 儲存基本配置詳細信息 `write_erase.cfg`啟動閃存上的檔案。

    cs1# show run | i "username admin password" > bootflash:write_erase.cfg

    cs1# show run | section "vrf context management" >> bootflash:write_erase.cfg

    cs1# show run | section "interface mgmt0" >> bootflash:write_erase.cfg

    cs1# show run | section "switchname" >> bootflash:write_erase.cfg

  6. 對於 RCF 版本 1.12 及更高版本,請執行以下命令:

    cs1# echo "hardware access-list tcam region ing-racl 1024" >> bootflash:write_erase.cfg

    cs1# echo "hardware access-list tcam region egr-racl 1024" >> bootflash:write_erase.cfg

    cs1# echo "hardware access-list tcam region ing-l2-qos 1280" >> bootflash:write_erase.cfg

    如需更多詳細資料,請參閱知識庫文章 "如何在保持遠端連線的情況下清除Cisco互連交換器上的配置"

  7. 確認 `write_erase.cfg`文件已如預期填入:

    show file bootflash:write_erase.cfg

  8. 發出 write erase 指令以擦除目前已儲存的設定:

    cs1# write erase

    Warning: This command will erase the startup-configuration.

    Do you wish to proceed anyway? (y/n) [n] y

  9. 將先前儲存的基本配置複製到啟動配置中。

    cs1# copy bootflash:write_erase.cfg startup-config

  10. 重啟交換器:

    switch# reload

    This command will reboot the system. (y/n)? [n] y

  11. 管理 IP 位址恢復正常後,透過 SSH 登入交換器。

    您可能需要更新與 SSH 金鑰相關的 hosts 檔案項目。

  12. 使用下列傳輸協定之一將 RCF 複製到交換器 cs1 的 bootflash:FTP、TFTP、SFTP 或 SCP。

    如需 Cisco 命令的詳細資訊,請參閱 "Cisco Nexus 9000 系列 NX-OS 指令參考" 中的適當指南。

    顯示範例

    此範例展示如何使用 TFTP 將 RCF 檔案複製到交換器 cs1 的啟動快閃記憶體中:

    cs1# copy tftp: bootflash: vrf management
    Enter source filename: Nexus_9336C_RCF_v1.6-Cluster-HA-Breakout.txt
    Enter hostname for the tftp server: 172.22.201.50
    Trying to connect to tftp server......Connection to Server Established.
    TFTP get operation was successful
    Copy complete, now saving to disk (please wait)...
  13. 將先前下載的 RCF 檔案套用到啟動快閃記憶體。

    如需 Cisco 命令的詳細資訊,請參閱 "Cisco Nexus 9000 系列 NX-OS 指令參考" 中的適當指南。

    顯示範例

    此範例展示了 RCF 文件 `Nexus_9336C_RCF_v1.6-Cluster-HA-Breakout.txt`正在交換器 cs1 上安裝:

    cs1# copy Nexus_9336C_RCF_v1.6-Cluster-HA-Breakout.txt running-config echo-commands
  14. 檢查橫幅輸出 `show banner motd`命令。您必須閱讀並遵循這些說明以確保交換器的正確配置和操作。

    顯示範例
    cs1# show banner motd
    
    ******************************************************************************
    * NetApp Reference Configuration File (RCF)
    *
    * Switch   : Nexus N9K-C9336C-FX2
    * Filename : Nexus_9336C_RCF_v1.6-Cluster-HA-Breakout.txt
    * Date     : 10-23-2020
    * Version  : v1.6
    *
    * Port Usage:
    * Ports  1- 3: Breakout mode (4x10G) Intra-Cluster Ports, int e1/1/1-4, e1/2/1-4
    , e1/3/1-4
    * Ports  4- 6: Breakout mode (4x25G) Intra-Cluster/HA Ports, int e1/4/1-4, e1/5/
    1-4, e1/6/1-4
    * Ports  7-34: 40/100GbE Intra-Cluster/HA Ports, int e1/7-34
    * Ports 35-36: Intra-Cluster ISL Ports, int e1/35-36
    *
    * Dynamic breakout commands:
    * 10G: interface breakout module 1 port <range> map 10g-4x
    * 25G: interface breakout module 1 port <range> map 25g-4x
    *
    * Undo breakout commands and return interfaces to 40/100G configuration in confi
    g mode:
    * no interface breakout module 1 port <range> map 10g-4x
    * no interface breakout module 1 port <range> map 25g-4x
    * interface Ethernet <interfaces taken out of breakout mode>
    * inherit port-profile 40-100G
    * priority-flow-control mode auto
    * service-policy input HA
    * exit
    *
    ******************************************************************************
  15. 請確認 RCF 檔案是否為最新版本:

    show running-config

    檢查輸出結果以驗證是否擁有正確的 RCF 時,請確保以下資訊正確:

    • RCF橫幅

    • 節點和連接埠設置

    • 客製化

      輸出結果會根據您的網站配置而有所不同。檢查連接埠設置,並參考發行說明,以了解您安裝的 RCF 版本是否有任何特定變更。

  16. 將先前對交換器配置所做的任何自訂設定重新套用。

  17. 有關任何後續更改的詳細資訊,請參閱 "審查佈線和配置注意事項"

  18. 確認 RCF 版本、自訂新增項目和交換器設定正確後,將運行設定檔複製到啟動設定檔。

    如需 Cisco 命令的詳細資訊,請參閱 "Cisco Nexus 9000 系列 NX-OS 指令參考" 中的適當指南。

    cs1# copy running-config startup-config

    [] 100% Copy complete

  19. 重啟交換器cs1。在交換器重新啟動期間,您可以忽略節點上報告的「叢集交換器健康監視器」警報和「叢集連接埠關閉」事件。

    cs1# reload

    This command will reboot the system. (y/n)? [n] y

  20. 驗證叢集上所有連接埠的健全狀況。

    1. 確認叢集中所有節點的叢集連接埠均已啟動且運作狀況良好:

      network port show -ipspace Cluster

      顯示範例
      cluster1::*> network port show -ipspace Cluster
      
      Node: cluster1-01
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
      
      Node: cluster1-02
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
      
      Node: cluster1-03
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/100000 healthy false
      e0d       Cluster      Cluster          up   9000  auto/100000 healthy false
      
      Node: cluster1-04
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/100000 healthy false
      e0d       Cluster      Cluster          up   9000  auto/100000 healthy false
      8 entries were displayed.
    2. 從叢集中驗證交換器的運作狀況。

      network device-discovery show -protocol cdp

      顯示範例
      cluster1::*> network device-discovery show -protocol cdp
      Node/       Local  Discovered
      Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
      ----------- ------ ------------------------- ----------------- --------
      cluster1-01/cdp
                  e0a    cs1                       Ethernet1/7       N9K-C9336C
                  e0d    cs2                       Ethernet1/7       N9K-C9336C
      cluster01-2/cdp
                  e0a    cs1                       Ethernet1/8       N9K-C9336C
                  e0d    cs2                       Ethernet1/8       N9K-C9336C
      cluster01-3/cdp
                  e0a    cs1                       Ethernet1/1/1     N9K-C9336C
                  e0b    cs2                       Ethernet1/1/1     N9K-C9336C
      cluster1-04/cdp
                  e0a    cs1                       Ethernet1/1/2     N9K-C9336C
                  e0b    cs2                       Ethernet1/1/2     N9K-C9336C

      根據交換器上先前載入的 RCF 版本,您可能會在 cs1 交換器控制台上看到以下輸出:

      2020 Nov 17 16:07:18 cs1 %$ VDC-1 %$ %STP-2-UNBLOCK_CONSIST_PORT: Unblocking port port-channel1 on VLAN0092. Port consistency restored.
      2020 Nov 17 16:07:23 cs1 %$ VDC-1 %$ %STP-2-BLOCK_PVID_PEER: Blocking port-channel1 on VLAN0001. Inconsistent peer vlan.
      2020 Nov 17 16:07:23 cs1 %$ VDC-1 %$ %STP-2-BLOCK_PVID_LOCAL: Blocking port-channel1 on VLAN0092. Inconsistent local vlan.
    3. 確認所有節點儲存連接埠均已啟動且狀態正常:

      storage port show -port-type ENET

      顯示範例
      cluster1::*> storage port show -port-type ENET
      
      
                                            Speed
      Node               Port Type  Mode    (Gb/s) State    Status
      ------------------ ---- ----- ------- ------ -------- -----------
      cluster1-01
                         e5a ENET  -         100   enabled  online
                         e3b ENET  -         100   enabled  online
      cluster1-02
                         e5a ENET  -         100   enabled  online
                         e3b ENET  -         100   enabled  online
      .
      .
    4. 驗證所有儲存架連接埠是否處於正常狀態:

      storage shelf port show

      顯示範例
      cluster1::> storage shelf port show
      
      Shelf ID Module State        Internal?
      ----- -- ------ ------------ ---------
      1.4
             0 A      connected    false
             1 A      connected    false
             2 B      connected    false
             3 B      connected    false
      .
      .
    5. 確認交換器是否處於監控狀態。

      system switch ethernet show

    顯示範例
    cluster1::*> system switch ethernet show
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    s1
                                storage-network    10.228.143.216   N9K-C9336C-FX2
         Serial Number: FDOXXXXXXB
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        10.4(6)
        Version Source: CDP/ISDP
    
    
    s2
                                storage-network    10.228.143.219   N9K-C9336C-FX2
         Serial Number: FDOXXXXXXC
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        10.6(2)
        Version Source: CDP/ISDP
    
    
    cs1
                                cluster-network    10.228.184.39    N9K-C9336C-FX2
         Serial Number: FLMXXXXXXXJ
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        10.4(6)
        Version Source: CDP/ISDP
    
    
    cs2
                                cluster-network    10.228.184.40    N9K-C9336C-FX2
         Serial Number: FLMXXXXXXXG
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        10.6(2)
        Version Source: CDP/ISDP
  21. 驗證叢集是否運作正常:

    cluster show

    顯示範例
    cluster1::*> cluster show
    Node                 Health   Eligibility   Epsilon
    -------------------- -------- ------------- -------
    cluster1-01          true     true          false
    cluster1-02          true     true          false
    cluster1-03          true     true          true
    cluster1-04          true     true          false
    4 entries were displayed.
    cluster1::*>
  22. 在交換器 cs2 上重複步驟 1 至 21。

  23. 啟用叢集 LIF 的自動回滾功能。

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert True

步驟 3:驗證叢集網路配置和叢集健康狀況

  1. 確認連接到叢集連接埠的交換器連接埠已啟用。

    show interface brief

    顯示範例
    cs1# show interface brief | grep up
    .
    .
    Eth1/1/1      1       eth  access up      none                    10G(D) --
    Eth1/1/2      1       eth  access up      none                    10G(D) --
    Eth1/7        1       eth  trunk  up      none                   100G(D) --
    Eth1/8        1       eth  trunk  up      none                   100G(D) --
    .
    .
  2. 確認預期節點仍然連接:

    show cdp neighbors

    顯示範例
    cs1# show cdp neighbors
    
    Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
                      S - Switch, H - Host, I - IGMP, r - Repeater,
                      V - VoIP-Phone, D - Remotely-Managed-Device,
                      s - Supports-STP-Dispute
    
    Device-ID          Local Intrfce  Hldtme Capability  Platform      Port ID
    node1              Eth1/1         133    H           FAS2980       e0a
    node2              Eth1/2         133    H           FAS2980       e0a
    cs1                Eth1/35        175    R S I s     N9K-C9336C    Eth1/35
    cs1                Eth1/36        175    R S I s     N9K-C9336C    Eth1/36
    
    Total entries displayed: 4
  3. 使用下列命令驗證叢集節點是否位於正確的叢集 VLAN 中:

    show vlan brief

    show interface trunk

    顯示範例
    cs1# show vlan brief
    
    VLAN Name                             Status    Ports
    ---- -------------------------------- --------- -------------------------------
    1    default                          active    Po1, Eth1/1, Eth1/2, Eth1/3
                                                    Eth1/4, Eth1/5, Eth1/6, Eth1/7
                                                    Eth1/8, Eth1/35, Eth1/36
                                                    Eth1/9/1, Eth1/9/2, Eth1/9/3
                                                    Eth1/9/4, Eth1/10/1, Eth1/10/2
                                                    Eth1/10/3, Eth1/10/4
    17   VLAN0017                         active    Eth1/1, Eth1/2, Eth1/3, Eth1/4
                                                    Eth1/5, Eth1/6, Eth1/7, Eth1/8
                                                    Eth1/9/1, Eth1/9/2, Eth1/9/3
                                                    Eth1/9/4, Eth1/10/1, Eth1/10/2
                                                    Eth1/10/3, Eth1/10/4
    18   VLAN0018                         active    Eth1/1, Eth1/2, Eth1/3, Eth1/4
                                                    Eth1/5, Eth1/6, Eth1/7, Eth1/8
                                                    Eth1/9/1, Eth1/9/2, Eth1/9/3
                                                    Eth1/9/4, Eth1/10/1, Eth1/10/2
                                                    Eth1/10/3, Eth1/10/4
    31   VLAN0031                         active    Eth1/11, Eth1/12, Eth1/13
                                                    Eth1/14, Eth1/15, Eth1/16
                                                    Eth1/17, Eth1/18, Eth1/19
                                                    Eth1/20, Eth1/21, Eth1/22
    32   VLAN0032                         active    Eth1/23, Eth1/24, Eth1/25
                                                    Eth1/26, Eth1/27, Eth1/28
                                                    Eth1/29, Eth1/30, Eth1/31
                                                    Eth1/32, Eth1/33, Eth1/34
    33   VLAN0033                         active    Eth1/11, Eth1/12, Eth1/13
                                                    Eth1/14, Eth1/15, Eth1/16
                                                    Eth1/17, Eth1/18, Eth1/19
                                                    Eth1/20, Eth1/21, Eth1/22
    34   VLAN0034                         active    Eth1/23, Eth1/24, Eth1/25
                                                    Eth1/26, Eth1/27, Eth1/28
                                                    Eth1/29, Eth1/30, Eth1/31
                                                    Eth1/32, Eth1/33, Eth1/34
    
    cs1# show interface trunk
    
    -----------------------------------------------------
    Port          Native  Status        Port
                  Vlan                  Channel
    -----------------------------------------------------
    Eth1/1        1       trunking      --
    Eth1/2        1       trunking      --
    Eth1/3        1       trunking      --
    Eth1/4        1       trunking      --
    Eth1/5        1       trunking      --
    Eth1/6        1       trunking      --
    Eth1/7        1       trunking      --
    Eth1/8        1       trunking      --
    Eth1/9/1      1       trunking      --
    Eth1/9/2      1       trunking      --
    Eth1/9/3      1       trunking      --
    Eth1/9/4      1       trunking      --
    Eth1/10/1     1       trunking      --
    Eth1/10/2     1       trunking      --
    Eth1/10/3     1       trunking      --
    Eth1/10/4     1       trunking      --
    Eth1/11       33      trunking      --
    Eth1/12       33      trunking      --
    Eth1/13       33      trunking      --
    Eth1/14       33      trunking      --
    Eth1/15       33      trunking      --
    Eth1/16       33      trunking      --
    Eth1/17       33      trunking      --
    Eth1/18       33      trunking      --
    Eth1/19       33      trunking      --
    Eth1/20       33      trunking      --
    Eth1/21       33      trunking      --
    Eth1/22       33      trunking      --
    Eth1/23       34      trunking      --
    Eth1/24       34      trunking      --
    Eth1/25       34      trunking      --
    Eth1/26       34      trunking      --
    Eth1/27       34      trunking      --
    Eth1/28       34      trunking      --
    Eth1/29       34      trunking      --
    Eth1/30       34      trunking      --
    Eth1/31       34      trunking      --
    Eth1/32       34      trunking      --
    Eth1/33       34      trunking      --
    Eth1/34       34      trunking      --
    Eth1/35       1       trnk-bndl     Po1
    Eth1/36       1       trnk-bndl     Po1
    Po1           1       trunking      --
    
    ------------------------------------------------------
    Port          Vlans Allowed on Trunk
    ------------------------------------------------------
    Eth1/1        1,17-18
    Eth1/2        1,17-18
    Eth1/3        1,17-18
    Eth1/4        1,17-18
    Eth1/5        1,17-18
    Eth1/6        1,17-18
    Eth1/7        1,17-18
    Eth1/8        1,17-18
    Eth1/9/1      1,17-18
    Eth1/9/2      1,17-18
    Eth1/9/3      1,17-18
    Eth1/9/4      1,17-18
    Eth1/10/1     1,17-18
    Eth1/10/2     1,17-18
    Eth1/10/3     1,17-18
    Eth1/10/4     1,17-18
    Eth1/11       31,33
    Eth1/12       31,33
    Eth1/13       31,33
    Eth1/14       31,33
    Eth1/15       31,33
    Eth1/16       31,33
    Eth1/17       31,33
    Eth1/18       31,33
    Eth1/19       31,33
    Eth1/20       31,33
    Eth1/21       31,33
    Eth1/22       31,33
    Eth1/23       32,34
    Eth1/24       32,34
    Eth1/25       32,34
    Eth1/26       32,34
    Eth1/27       32,34
    Eth1/28       32,34
    Eth1/29       32,34
    Eth1/30       32,34
    Eth1/31       32,34
    Eth1/32       32,34
    Eth1/33       32,34
    Eth1/34       32,34
    Eth1/35       1
    Eth1/36       1
    Po1           1
    ..
    ..
    ..
    ..
    ..
    註 有關具體連接埠和 VLAN 使用詳情,請參閱 RCF 中的橫幅和重要說明部分。
  4. 驗證 cs1 和 cs2 之間的 ISL 連線是否正常:

    show port-channel summary

    顯示範例
    cs1# 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
            b - BFD Session Wait
            S - Switched    R - Routed
            U - Up (port-channel)
            p - Up in delay-lacp mode (member)
            M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-       Type     Protocol  Member Ports      Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)     Eth      LACP      Eth1/35(P)        Eth1/36(P)
    cs1#
  5. 確認叢集 LIF 已恢復到其原始連接埠:

    network interface show -vserver Cluster

    顯示範例
    cluster1::*> network interface show -vserver Cluster
                Logical            Status     Network            Current             Current Is
    Vserver     Interface          Admin/Oper Address/Mask       Node                Port    Home
    ----------- ------------------ ---------- ------------------ ------------------- ------- ----
    Cluster
                cluster1-01_clus1  up/up      169.254.3.4/23     cluster1-01         e0d     true
                cluster1-01_clus2  up/up      169.254.3.5/23     cluster1-01         e0d     true
                cluster1-02_clus1  up/up      169.254.3.8/23     cluster1-02         e0d     true
                cluster1-02_clus2  up/up      169.254.3.9/23     cluster1-02         e0d     true
                cluster1-03_clus1  up/up      169.254.1.3/23     cluster1-03         e0b     true
                cluster1-03_clus2  up/up      169.254.1.1/23     cluster1-03         e0b     true
                cluster1-04_clus1  up/up      169.254.1.6/23     cluster1-04         e0b     true
                cluster1-04_clus2  up/up      169.254.1.7/23     cluster1-04         e0b     true

    如果任何叢集 LIF 尚未返回其來源端口,請從本機節點手動將其還原:

    network interface revert -vserver vserver_name -lif lif_name

  6. 驗證叢集是否運作正常:

    cluster show

    顯示範例
    cluster1::*> cluster show
    Node                 Health  Eligibility   Epsilon
    -------------------- ------- ------------- -------
    cluster1-01          true    true          false
    cluster1-02          true    true          false
    cluster1-03          true    true          true
    cluster1-04          true    true          false
  7. 驗證遠端集群介面的連接性:

ONTAP 9.9.1 及更高版本

你可以使用 `network interface check cluster-connectivity`執行命令以啟動叢集連接性檢查,然後顯示詳細資訊:

network interface check cluster-connectivity start`和 `network interface check cluster-connectivity show

cluster1::*> network interface check cluster-connectivity start

*注意:*運行程式前請等待幾秒鐘 `show`顯示詳細資訊的命令。

cluster1::*> network interface check cluster-connectivity show
                                  Source               Destination         Packet
Node   Date                       LIF                  LIF                 Loss
------ -------------------------- -------------------- ------------------- -----------
node1
       3/5/2022 19:21:18 -06:00   cluster1-01_clus2    cluster1-02-clus1   none
       3/5/2022 19:21:20 -06:00   cluster1-01_clus2    cluster1-02_clus2   none
node2
       3/5/2022 19:21:18 -06:00   cluster1-02_clus2    cluster1-01_clus1   none
       3/5/2022 19:21:20 -06:00   cluster1-02_clus2    cluster1-01_clus2   none
所有ONTAP版本

對於所有ONTAP版本,您也可以使用 `cluster ping-cluster -node <name>`檢查連接性的命令:

cluster ping-cluster -node <name>

cluster1::*> cluster ping-cluster -node local
Host is cluster1-03
Getting addresses from network interface table...
Cluster cluster1-03_clus1 169.254.1.3 cluster1-03 e0a
Cluster cluster1-03_clus2 169.254.1.1 cluster1-03 e0b
Cluster cluster1-04_clus1 169.254.1.6 cluster1-04 e0a
Cluster cluster1-04_clus2 169.254.1.7 cluster1-04 e0b
Cluster cluster1-01_clus1 169.254.3.4 cluster1-01 e0a
Cluster cluster1-01_clus2 169.254.3.5 cluster1-01 e0d
Cluster cluster1-02_clus1 169.254.3.8 cluster1-02 e0a
Cluster cluster1-02_clus2 169.254.3.9 cluster1-02 e0d
Local = 169.254.1.3 169.254.1.1
Remote = 169.254.1.6 169.254.1.7 169.254.3.4 169.254.3.5 169.254.3.8 169.254.3.9
Cluster Vserver Id = 4294967293
Ping status:
............
Basic connectivity succeeds on 12 path(s)
Basic connectivity fails on 0 path(s)
................................................
Detected 9000 byte MTU on 12 path(s):
    Local 169.254.1.3 to Remote 169.254.1.6
    Local 169.254.1.3 to Remote 169.254.1.7
    Local 169.254.1.3 to Remote 169.254.3.4
    Local 169.254.1.3 to Remote 169.254.3.5
    Local 169.254.1.3 to Remote 169.254.3.8
    Local 169.254.1.3 to Remote 169.254.3.9
    Local 169.254.1.1 to Remote 169.254.1.6
    Local 169.254.1.1 to Remote 169.254.1.7
    Local 169.254.1.1 to Remote 169.254.3.4
    Local 169.254.1.1 to Remote 169.254.3.5
    Local 169.254.1.1 to Remote 169.254.3.8
    Local 169.254.1.1 to Remote 169.254.3.9
Larger than PMTU communication succeeds on 12 path(s)
RPC status:
6 paths up, 0 paths down (tcp check)
6 paths up, 0 paths down (udp check)
下一步是什麼?

升級 RCF 後,您可以 "配置交換器健康監控"