将 Brocade FC 交换机重置为出厂默认设置
在安装新的软件版本和 RCF 文件之前,必须清除当前的交换机配置并执行基本配置。
必须在 MetroCluster 光纤网配置中的每台 FC 交换机上重复这些步骤。
- 以管理员身份登录交换机。
- 禁用 Brocade 虚拟光纤网(VF)功能:fosconfig options
FC_switch_A_1:admin> fosconfig --disable vf
WARNING: This is a disruptive operation that requires a reboot to take effect.
Would you like to continue [Y/N]: y - 断开 ISL 线缆与交换机端口的连接。
- 禁用交换机:switchcfgpersistentdisable
FC_switch_A_1:admin> switchcfgpersistentdisable
- 禁用配置:cfgDisable
FC_switch_A_1:admin> cfgDisable
You are about to disable zoning configuration. This action will disable any previous zoning configuration enabled.
Do you want to disable zoning configuration? (yes, y, no, n): [no] y
Updating flash ...
Effective configuration is empty. "No Access" default zone mode is ON. - 清除配置:cfgClear
FC_switch_A_1:admin> cfgClear
The Clear All action will clear all Aliases, Zones, FA Zones
and configurations in the Defined configuration.
Run cfgSave to commit the transaction or cfgTransAbort to
cancel the transaction.
Do you really want to clear all configurations? (yes, y, no, n): [no] y - 保存配置:cfgSave
FC_switch_A_1:admin> cfgSave
You are about to save the Defined zoning configuration. This
action will only save the changes on Defined configuration.
Do you want to save the Defined zoning configuration only? (yes, y, no, n): [no] y
Updating flash ... - 设置默认配置:configDefault
example output?
- 将所有端口的端口配置设置为默认配置:portcfgdefault port-number
example output?
必须为每个端口完成此步骤。 - 验证交换机是否正在使用动态 POD 方法。注对于 8.0 之前的 FabOS 版本,需要以管理员身份运行以下命令。对于 8.0 及之后的版本,请以根用户身份运行这些命令。
- 运行命令 licenseport --show
FC_switch_A_1:admin> licenseport -show
24 ports are available in this switch
Full POD license is installed
Dynamic POD method is in use - 如果 Brocade 禁用了根用户,请启用它。
FC_switch_A_1:admin> userconfig --change root -e yes
FC_switch_A_1:admin> rootaccess --set consoleonly - 运行许可证命令:licenseport --show
FC_switch_A_1:root> licenseport -show
24 ports are available in this switch
Full POD license is installed
Dynamic POD method is in use - 将许可证方法更改为动态:licenseport --method dynamic注如果未使用动态 POD 方法(如果 POD 方法是静态的),则必须将许可证分配方法更改为动态。如果正在使用动态 POD 方法,请跳过此步骤。
FC_switch_A_1:admin> licenseport --method dynamic
The POD method has been changed to dynamic.
Please reboot the switch now for this change to take effect
- 运行命令 licenseport --show
- 重新启动交换机:fastBoot
FC_switch_A_1:admin> fastboot
Warning: This command would cause the switch to reboot
and result in traffic disruption.
Are you sure you want to reboot the switch [y/n]?y - 确认已实施默认设置:switchShow
- 验证 IP 地址是否设置正确:ipAddrShow如果需要,可以使用以下命令设置 IP 地址:ipAddrSet
- 下载 Brocade FC 交换机 RCF 文件
必须将参考配置(RCF)文件下载到 MetroCluster 光纤网配置中的每台交换机。 - 安装 Brocade FC 交换机 RCF 文件
在配置 Brocade FC 交换机时,可以安装交换机配置文件,这些文件可针对特定配置提供完整的交换机设置。
提供反馈