下载并安装 Broadcom RCF 文件
必须将交换机 RCF 文件下载并安装到 MetroCluster IP 配置中的每台交换机。
开始之前
此任务需要使用文件传输软件(如 FTP、TFTP、SFTP 或 SCP)将文件拷贝到交换机。
关于本任务
必须在 MetroCluster IP 配置中的每台 IP 交换机上重复这些步骤。
有四个 RCF 文件,MetroCluster IP 配置中的四台交换机分别对应一个文件。必须为当前使用的交换机型号使用正确的 RCF 文件。
交换机 | RCF 文件 | ||
IP_switch_A_1 | BES-53248_v1.32_Switch-A1.txt | ||
IP_switch_A_2 | BES-53248_v1.32_Switch-A2.txt | ||
IP_switch_B_1 | BES-53248_v1.32_Switch-B1.txt | ||
IP_switch_B_2 | BES-53248_v1.32_Switch-B2.txt |
- 下载 Broadcom 交换机的 MetroCluster IP RCF 文件。
- 将 RCF 文件拷贝到交换机:
- 将 RCF 文件拷贝到第一台交换机:copy sftp://user@FTP-server-IP-address/RcfFiles/switch-specific-RCF nvram:script BES-53248_v1.32_Switch-A1.txt nvram:script BES-53248_v1.32_Switch-A1.scr
示例
在此示例中,BES-53248_v1.32_Switch-A1.txt RCF 文件从位于 50.50.50.50 的 SFTP 服务器拷贝到本地 bootflash 中。需要使用 TFTP/SFTP 服务器的 IP 地址以及所需安装的 RCF 文件的文件名。
(IP_switch_A_1) #copy sftp://user@50.50.50.50/RcfFiles/BES-53248_v1.32_Switch-A1.txt nvram:script BES-53248_v1.32_Switch-A1.scr
Remote Password:*************
Mode........................................... SFTP
Set Server IP.................................. 50.50.50.50
Path........................................... /RcfFiles/
Filename....................................... BES-53248_v1.32_Switch-A1.txt
Data Type...................................... Config Script
Destination Filename........................... BES-53248_v1.32_Switch-A1.scr
Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y
File transfer in progress. Management access will be blocked for the duration of the transfer. Please wait...
File transfer operation completed successfully.
Validating configuration script...
config
set clibanner "********************************************************************************
* Reference Configuration File (RCF)
*
* Switch : BES-53248
...
The downloaded RCF is validated. Some output is being logged here.
...
Configuration script validated.
File transfer operation completed successfully.
(IP_switch_A_1) # - 验证 RCF 文件是否已保存为脚本:script list
示例
(IP_switch_A_1) #script list
Configuration Script Name Size(Bytes) Date of Modification
------------------------------- ----------- --------------------
BES-53248_v1.32_Switch-A1.scr 852 2019 01 29 18:41:25
1 configuration script(s) found.
2046 Kbytes free.
(IP_switch_A_1) # - 应用 RCF 脚本:script apply BES-53248_v1.32_Switch-A1.scr
示例
(IP_switch_A_1) #script apply BES-53248_v1.32_Switch-A1.scr
Are you sure you want to apply the configuration script? (y/n) y
config
set clibanner "**********************************************************************
* Lenovo Reference Configuration File (RCF)
*
* Switch : BES-53248
...
The downloaded RCF is validated. Some output is being logged here.
...
Configuration script 'BES-53248_v1.32_Switch-A1.scr' applied.
(IP_switch_A_1) # - 保存配置:write memory
示例
(IP_switch_A_1) #write memory
This operation may take a few minutes.
Management interfaces will not be available during this time.
Are you sure you want to save? (y/n) y
Configuration Saved!
(IP_switch_A_1) # - 重新启动交换机:reload
示例
(IP_switch_A_1) #reload
Are you sure you would like to reset the system? (y/n) y - 对其他三台交换机中的每台交换机重复上述步骤,确保将匹配的 RCF 文件拷贝到相应的交换机。
- 将 RCF 文件拷贝到第一台交换机:copy sftp://user@FTP-server-IP-address/RcfFiles/switch-specific-RCF nvram:script BES-53248_v1.32_Switch-A1.txt nvram:script BES-53248_v1.32_Switch-A1.scr
- 重新加载交换机:reload
示例
IP_switch_A_1# reload
- 在 MetroCluster IP 配置中的其他三台交换机上重复上述步骤。
提供反馈