Resetting the Brocade FC switch to factory defaults
Before installing a new software version and RCF files, you must erase the current switch configuration and perform basic configuration.
You must repeat these steps on each of the FC switches in the MetroCluster fabric configuration.
- Log in to the switch as an administrator.
- Disable the Brocade Virtual Fabrics (VF) feature: 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 - Disconnect the ISL cables from the ports on the switch.
- Disable the switch: switchcfgpersistentdisable
FC_switch_A_1:admin> switchcfgpersistentdisable
- Disable the configuration: 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. - Clear the configuration: 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 - Save the configuration: 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 ... - Set the default configuration: configDefault
example output?
- Set the port configuration to default for all ports: portcfgdefault port-number
example output?
You must complete this step for each port. - Verify that the switch is using the dynamic POD method.NoteFor FabOS versions before 8.0, you run the following commands as admin and versions 8 and later you run them as root.
- Run the command 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 - Enable the root user if it is disabled by Brocade.
FC_switch_A_1:admin> userconfig --change root -e yes
FC_switch_A_1:admin> rootaccess --set consoleonly - Run the license command: 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 - Change the license method to dynamic: licenseport --method dynamicNoteIf the dynamic POD method is not in use (if POD method is in static) you must change the license assignment method to dynamic. Skip this step if the dynamic POD method is in use.
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
- Run the command licenseport --show
- Reboot the switch: 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 - Confirm that the default settings have been implemented: switchShow
- Verify if the IP address is set correctly: ipAddrShowYou can set the IP address with the following command if required: ipAddrSet
- Downloading the Brocade FC switch RCF file
You must download the reference configuration (RCF) file to each switch in the MetroCluster fabric configuration. - Installing the Brocade FC switch RCF file
When you configure a Brocade FC switch, you can install the switch configuration files that provide the complete switch settings for certain configurations.
Give documentation feedback