Skip to main content

Setting the Cisco FC switch to factory defaults

To ensure a successful configuration, you must set the switch to its factory defaults. This ensures that the switch is starting from a clean configuration.

This task must be performed on all switches in the MetroCluster configuration.

  1. Make a console connection and log in to both switches in the same fabric.
  2. Issue the following command to set the switch back to its default settings: write erase

    You can respond y when prompted to confirm the command. This erases all licenses and configuration information on the switch.
  3. Issue the following command to reboot the switch: reload

    You can respond y when prompted to confirm the command.
  4. Repeat the write erase and reload commands on the other switch.

    After issuing the reload command, the switch reboots and then prompts with setup questions. At that point, proceed to the next section.

The following example shows the process on a fabric consisting of FC_switch_A_1 and FC_switch_B_1.

FC_Switch_A_1# write erase
Warning: This command will erase the startup-configuration.
Do you wish to proceed anyway? (y/n) [n] y
FC_Switch_A_1# reload
This command will reboot the system. (y/n)? [n] y

FC_Switch_B_1# write erase
Warning: This command will erase the startup-configuration.
Do you wish to proceed anyway? (y/n) [n] y
FC_Switch_B_1# reload
This command will reboot the system. (y/n)? [n] y