Skip to main content
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

安装参考配置文件

贡献者 netapp-yvonneo

首次设置 Nexus 9336C-FX2 和 9336C-FX2-T 存储交换机后,安装参考配置文件 (RCF)。

有关安装 RCF 的更多信息,请参见知识库文章"如何在保持远程连接的情况下清除Cisco互连交换机上的配置"

开始之前

请核实以下安装和连接:

  • 控制台与交换机的连接。如果您可以远程访问交换机,则控制台连接是可选的。

  • 交换机 s1 和交换机 s2 通电,初始交换机设置完成(管理 IP 地址和 SSH 设置完成)。

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

  • ONTAP 节点存储端口和存储盘架端口未连接。

步骤 1:在交换机上安装 RCF

  1. 使用 SSH 或通过串行控制台登录到交换机 s2。

  2. 使用以下传输协议之一将 RCF 复制到交换机 s2 的 bootflash:FTP、TFTP、SFTP 或 SCP。

    有关 Cisco 命令的更多信息,请参见 "Cisco Nexus 9000 系列 NX-OS 命令参考" 中的相应指南。

    显示示例

    此示例显示使用 TFTP 将 RCF 复制到交换机 s2 上的 bootflash:

    s2# copy tftp: bootflash: vrf management
    Enter source filename: NX9336C-FX2-RCF-v1.13-1-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 命令参考" 中的相应指南。

    显示示例

    此示例显示了在交换机 s2 上安装的 RCF NX9336C-FX2-RCF-v1.13-1-Storage.txt

    s2# copy NX9336C-FX2-RCF-v1.13-1-Storage.txt running-config echo-commands
  4. 检查横幅输出 `show banner motd`命令。您必须阅读并遵循这些说明,以确保交换机的正确配置和运行。

    显示示例
    s2# show banner motd
    
    **********************************************************
    * NetApp Reference Configuration File (RCF)
    *
    * Switch    : NX9336C-FX2
    * Filename  : NX9336C-FX2-RCF-v1.13-1-Storage.txt
    * Date      : 05-22-2025
    * Version   : v1.13
    *
    * Port Usage : Storage configuration
    * Ports  1-36: 100GbE Controller and Shelf Storage Ports
    *
    * IMPORTANT NOTES
    *
    * Interface port-channel999 is reserved to identify the version of this file.
    **********************************************************
  5. 请确认 RCF 是否为正确的最新版本:

    show running-config

    检查输出结果以验证是否拥有正确的 RCF 时,请确保以下信息正确:

    • RCF横幅

    • 节点和端口设置

    • 定制

      输出结果会根据您的网站配置而有所不同。检查端口设置,并参考发行说明,了解您安装的 RCF 版本是否有任何特定更改。

  6. 记录当前版本与当前版本之间的任何自定义添加内容。 `running-config`文件和正在使用的 RCF 文件。

  7. 确认 RCF 版本和交换机设置正确后,复制以下内容: `running-config`文件到 `startup-config`文件。

    s2# copy running-config startup-config [########################################] 100% Copy complete
  8. 重新启动交换机 s2。

    s2# reload

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

  9. 对交换机 s1 重复步骤 1 至 8。

  10. 将 ONTAP 集群中所有节点的节点存储端口和存储架端口连接到交换机 s1 和 s2。

步骤 2:验证交换机连接

  1. 验证交换机端口是否为 up 状态。

    show interface brief

    显示示例
    s1# 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

    显示示例
    s1# 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
    
    s1# 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 配置"