Skip to main content

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.

  1. Log in to the switch as an administrator.
  2. 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
  3. Disconnect the ISL cables from the ports on the switch.
  4. Disable the switch: switchcfgpersistentdisable

    FC_switch_A_1:admin> switchcfgpersistentdisable
  5. 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.
  6. 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
  7. 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 ...
  8. Set the default configuration: configDefault

    example output?
  9. Set the port configuration to default for all ports: portcfgdefault port-number

    example output?
    You must complete this step for each port.
  10. Verify that the switch is using the dynamic POD method.
    Note
    For FabOS versions before 8.0, you run the following commands as admin and versions 8 and later you run them as root.
    1. 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
    2. 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
    3. 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
    4. Change the license method to dynamic: licenseport --method dynamic
      Note
      If 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
  11. 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
  12. Confirm that the default settings have been implemented: switchShow
  13. Verify if the IP address is set correctly: ipAddrShow
    You can set the IP address with the following command if required: ipAddrSet