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

安裝參考設定檔

貢獻者 netapp-yvonneo

首次設定 Nexus 9336C-FX2 和 9336C-FX2-T 儲存交換器後,安裝參考設定檔 (RCF)。

請參閱知識庫文章"如何在保持遠端連線的情況下清除Cisco互連交換器上的配置"安裝 RCF 時,請參閱相關資訊。

開始之前

請核實以下安裝和連接:

  • 控制台與交換器的連接。如果您可以遠端存取交換機,則控制台連線是可選的。

  • 交換器 cs1 和交換器 cs2 已通電,交換器初始設定已完成(管理 IP 位址和 SSH 已設定)。

  • 已安裝所需的 NX-OS 版本。

  • ONTAP節點叢集連接埠未連線。

步驟 1:在交換器上安裝 RCF

  1. 使用 SSH 或序列控制台登入 switch cs1。

  2. 使用下列傳輸協定之一將 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-Storage.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)...
  3. 將先前下載的 RCF 檔案套用到啟動快閃記憶體。

    有關Cisco命令的更多信息,請參閱 "Cisco Nexus 9000 系列 NX-OS 指令參考"

    顯示範例

    此範例展示了 RCF `Nexus_9336C_RCF_v1.6-Storage.txt`正在交換器 cs1 上安裝:

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

    顯示範例
    cs1# show banner motd
    
    ******************************************************************************
    * NetApp Reference Configuration File (RCF)
    *
    * Switch    : Nexus N9K-C9336C-FX2
    * Filename  : Nexus_9336C_RCF_v1.6-Storage.txt
    * Date      : 10-23-2020
    * Version   : v1.6
    *
    * Port Usage : Storage configuration
    * Ports  1-36: 100GbE Controller and Shelf Storage Ports
    ******************************************************************************
  5. 請確認 RCF 是否為正確的最新版本:

    show running-config

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

    • RCF橫幅

    • 節點和連接埠設置

    • 客製化

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

  6. 記錄目前版本與目前版本之間的任何自訂新增內容。 `running-config`文件和正在使用的 RCF 文件。

  7. 確認 RCF 版本和交換器設定正確後,複製以下內容: `running-config`文件到 `startup-config`文件。

    cs1# copy running-config startup-config [########################################] 100% Copy complete
  8. 儲存基本配置詳細信息 `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

  9. 安裝 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互連交換器上的配置"更多詳情請見下文。

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

    show file bootflash:write_erase.cfg

  11. 問題 `write erase`清除目前已儲存配置的命令:

    cs1# write erase

    Warning: This command will erase the startup-configuration.

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

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

    cs1# copy bootflash:write_erase.cfg startup-config

  13. 重啟交換器cs1。

    cs1# reload

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

  14. 在交換器 cs2 上重複步驟 1 至 13。

  15. 將ONTAP叢集中所有節點的叢集連接埠連接到交換器 cs1 和 cs2。

步驟 2:驗證交換器連接

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

    show interface brief

    顯示範例
    cs1# show interface brief | grep up
    mgmt0  --           up     <mgmt ip address>                       1000    1500
    Eth1/11         1       eth  trunk  up      none                     100G(D) --
    Eth1/12         1       eth  trunk  up      none                     100G(D) --
    Eth1/13         1       eth  trunk  up      none                     100G(D) --
    Eth1/14         1       eth  trunk  up      none                     100G(D) --
    Eth1/15         1       eth  trunk  up      none                     100G(D) --
    Eth1/16         1       eth  trunk  up      none                     100G(D) --
    Eth1/17         1       eth  trunk  up      none                     100G(D) --
    Eth1/18         1       eth  trunk  up      none                     100G(D) --
    Eth1/23         1       eth  trunk  up      none                     100G(D) --
    Eth1/24         1       eth  trunk  up      none                     100G(D) --
    Eth1/25         1       eth  trunk  up      none                     100G(D) --
    Eth1/26         1       eth  trunk  up      none                     100G(D) --
    Eth1/27         1       eth  trunk  up      none                     100G(D) --
    Eth1/28         1       eth  trunk  up      none                     100G(D) --
    Eth1/29         1       eth  trunk  up      none                     100G(D) --
    Eth1/30         1       eth  trunk  up      none                     100G(D) --
  2. 使用下列命令驗證叢集節點是否位於正確的叢集 VLAN 中:

    show vlan brief

    show interface trunk

    顯示範例
    cs1# show vlan brief
    
    VLAN Name                             Status    Ports
    ---- -------------------------------- --------- -------------------------------
    1    default                          active    Po999
    30   VLAN0030                         active    Eth1/1, Eth1/2, Eth1/3, Eth1/4
                                                    Eth1/5, Eth1/6, Eth1/7, Eth1/8
                                                    Eth1/9, Eth1/10, Eth1/11
                                                    Eth1/12, Eth1/13, Eth1/14
                                                    Eth1/15, Eth1/16, Eth1/17
                                                    Eth1/18, Eth1/19, Eth1/20
                                                    Eth1/21, Eth1/22, Eth1/23
                                                    Eth1/24, Eth1/25, Eth1/26
                                                    Eth1/27, Eth1/28, Eth1/29
                                                    Eth1/30, Eth1/31, Eth1/32
                                                    Eth1/33, Eth1/34, Eth1/35
                                                    Eth1/36
    
    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       trunking      --
    Eth1/10       1       trunking      --
    Eth1/11       1       trunking      --
    Eth1/12       1       trunking      --
    Eth1/13       1       trunking      --
    Eth1/14       1       trunking      --
    Eth1/15       1       trunking      --
    Eth1/16       1       trunking      --
    Eth1/17       1       trunking      --
    Eth1/18       1       trunking      --
    Eth1/19       1       trunking      --
    Eth1/20       1       trunking      --
    Eth1/21       1       trunking      --
    Eth1/22       1       trunking      --
    Eth1/23       1       trunking      --
    Eth1/24       1       trunking      --
    Eth1/25       1       trunking      --
    Eth1/26       1       trunking      --
    Eth1/27       1       trunking      --
    Eth1/28       1       trunking      --
    Eth1/29       1       trunking      --
    Eth1/30       1       trunking      --
    Eth1/31       1       trunking      --
    Eth1/32       1       trunking      --
    Eth1/33       1       trunking      --
    Eth1/34       1       trunking      --
    Eth1/35       1       trunking      --
    Eth1/36       1       trunking      --
    
    --------------------------------------------------------------------------------
    Port          Vlans Allowed on Trunk
    --------------------------------------------------------------------------------
    Eth1/1        30
    Eth1/2        30
    Eth1/3        30
    Eth1/4        30
    Eth1/5        30
    Eth1/6        30
    Eth1/7        30
    Eth1/8        30
    Eth1/9        30
    Eth1/10       30
    Eth1/11       30
    Eth1/12       30
    Eth1/13       30
    Eth1/14       30
    Eth1/15       30
    Eth1/16       30
    Eth1/17       30
    Eth1/18       30
    Eth1/19       30
    Eth1/20       30
    Eth1/21       30
    Eth1/22       30
    Eth1/23       30
    Eth1/24       30
    Eth1/25       30
    Eth1/26       30
    Eth1/27       30
    Eth1/28       30
    Eth1/29       30
    Eth1/30       30
    Eth1/31       30
    Eth1/32       30
    Eth1/33       30
    Eth1/34       30
    Eth1/35       30
    Eth1/36       30
    
    --------------------------------------------------------------------------------
    Port          Vlans Err-disabled on Trunk
    --------------------------------------------------------------------------------
    Eth1/1        none
    Eth1/2        none
    Eth1/3        none
    Eth1/4        none
    Eth1/5        none
    Eth1/6        none
    Eth1/7        none
    Eth1/8        none
    Eth1/9        none
    Eth1/10       none
    Eth1/11       none
    Eth1/12       none
    Eth1/13       none
    Eth1/14       none
    Eth1/15       none
    Eth1/16       none
    Eth1/17       none
    Eth1/18       none
    Eth1/19       none
    Eth1/20       none
    Eth1/21       none
    Eth1/22       none
    Eth1/23       none
    Eth1/24       none
    Eth1/25       none
    Eth1/26       none
    Eth1/27       none
    Eth1/28       none
    Eth1/29       none
    Eth1/30       none
    Eth1/31       none
    Eth1/32       none
    Eth1/33       none
    Eth1/34       none
    Eth1/35       none
    Eth1/36       none
    
    --------------------------------------------------------------------------------
    Port          STP Forwarding
    --------------------------------------------------------------------------------
    Eth1/1        none
    Eth1/2        none
    Eth1/3        none
    Eth1/4        none
    Eth1/5        none
    Eth1/6        none
    Eth1/7        none
    Eth1/8        none
    Eth1/9        none
    Eth1/10       none
    Eth1/11       30
    Eth1/12       30
    Eth1/13       30
    Eth1/14       30
    Eth1/15       30
    Eth1/16       30
    Eth1/17       30
    Eth1/18       30
    Eth1/19       none
    Eth1/20       none
    Eth1/21       none
    Eth1/22       none
    Eth1/23       30
    Eth1/24       30
    Eth1/25       30
    Eth1/26       30
    Eth1/27       30
    Eth1/28       30
    Eth1/29       30
    Eth1/30       30
    Eth1/31       none
    Eth1/32       none
    Eth1/33       none
    Eth1/34       none
    Eth1/35       none
    Eth1/36       none
    
    --------------------------------------------------------------------------------
    Port          Vlans in spanning tree forwarding state and not pruned
    --------------------------------------------------------------------------------
    Eth1/1        Feature VTP is not enabled
    none
    Eth1/2        Feature VTP is not enabled
    none
    Eth1/3        Feature VTP is not enabled
    none
    Eth1/4        Feature VTP is not enabled
    none
    Eth1/5        Feature VTP is not enabled
    none
    Eth1/6        Feature VTP is not enabled
    none
    Eth1/7        Feature VTP is not enabled
    none
    Eth1/8        Feature VTP is not enabled
    none
    Eth1/9        Feature VTP is not enabled
    none
    Eth1/10       Feature VTP is not enabled
    none
    Eth1/11       Feature VTP is not enabled
    30
    Eth1/12       Feature VTP is not enabled
    30
    Eth1/13       Feature VTP is not enabled
    30
    Eth1/14       Feature VTP is not enabled
    30
    Eth1/15       Feature VTP is not enabled
    30
    Eth1/16       Feature VTP is not enabled
    30
    Eth1/17       Feature VTP is not enabled
    30
    Eth1/18       Feature VTP is not enabled
    30
    Eth1/19       Feature VTP is not enabled
    none
    Eth1/20       Feature VTP is not enabled
    none
    Eth1/21       Feature VTP is not enabled
    none
    Eth1/22       Feature VTP is not enabled
    none
    Eth1/23       Feature VTP is not enabled
    30
    Eth1/24       Feature VTP is not enabled
    30
    Eth1/25       Feature VTP is not enabled
    30
    Eth1/26       Feature VTP is not enabled
    30
    Eth1/27       Feature VTP is not enabled
    30
    Eth1/28       Feature VTP is not enabled
    30
    Eth1/29       Feature VTP is not enabled
    30
    Eth1/30       Feature VTP is not enabled
    30
    Eth1/31       Feature VTP is not enabled
    none
    Eth1/32       Feature VTP is not enabled
    none
    Eth1/33       Feature VTP is not enabled
    none
    Eth1/34       Feature VTP is not enabled
    none
    Eth1/35       Feature VTP is not enabled
    none
    Eth1/36       Feature VTP is not enabled
    none
    註 有關具體連接埠和 VLAN 使用詳情,請參閱 RCF 中的橫幅和重要說明部分。

步驟 3:設定ONTAP集群

NetApp建議您使用系統管理員來設定新的叢集。

系統管理器為叢集設定和配置提供了簡單易用的工作流程,包括分配節點管理 IP 位址、初始化叢集、建立本機層、設定協定和配置初始儲存。

前往 "使用 System Manager 在新叢集上設定ONTAP"有關設定說明,請參閱相關文件。

下一步是什麼?

安裝 RCF 後,您可以…"驗證 SSH 配置"