Reverting to the Default Factory Configuration for the EX Series Switch
If for any reason the current active configuration fails, you can revert to the default factory configuration. You can also roll back to a previous configuration, as described in Loading a Previous Configuration File (CLI Procedure), or revert to the rescue configuration, as described in Reverting to the Rescue Configuration for the EX Series Switch.
The default factory configuration contains the basic configuration settings. This is the first configuration of the switch and it is loaded when the switch is first installed and powered on.
You can revert to the default factory configuration by using the Menu button to the right of the LCD on the front panel of the switch or by using the load factory default configuration command.
- Reverting to the Default Factory Configuration by Using the LCD Panel
- Reverting to the Default Factory Configuration by Using the Load Factory Default Command
Reverting to the Default Factory Configuration by Using the LCD Panel
To set the switch to the default factory configuration, use the LCD panel and buttons on the front panel of the switch as shown in Figure 1. If the switch model does not have an LCD panel, use the CLI command described in the following section.
Use the LCD panel to revert to the default factory configuration if you want to run EZsetup. When you use the CLI to revert to the default factory configuration, the configuration for the root password is retained and you cannot run EZSetup.
Figure 1: EX Series Switch LCD Panel

![]() | Note: If you want to convert an EX4200 switch from a member of a multimember Virtual Chassis configuration to a standalone switch, first disconnect the cables connected to the Virtual Chassis ports (VCPs). See Disconnecting a Virtual Chassis Cable from an EX4200 Switch. The Menu button procedure deletes all modified configuration parameters, including Virtual Chassis parameters such as member ID, mastership priority, and setting of VCP uplinks. |
- Press the Menu button until you see MAINTENANCE MENU on the panel.
- Press the Enter button.
- Press Menu until you see FACTORY DEFAULT.
- Press Enter. The display says RESTORE DEFAULT?
- Press Enter. The screen flashes FACTORY DEFAULT IN PROGRESS and returns to the idle menu.
Reverting to the Default Factory Configuration by Using the Load Factory Default Command
The load factory default command is a standard Junos OS configuration command. This configuration command replaces the current active configuration with the default factory configuration.
Use the LCD panel to revert to the default factory configuration if you want to run EZsetup. When you use the CLI to revert to the default factory configuration, the configuration for the root password is retained and you cannot run EZSetup.
![]() | Note: The load factory default command by itself is not supported on EX4200 switches configured in a Virtual Chassis with multiple members. In a multimember Virtual Chassis configuration, you can revert to the default factory configuration while retaining the Virtual Chassis parameters (member ID, mastership priority, or settings of VCP uplinks) using the following procedure:
|
Related Topics
- Configuring a Virtual Chassis (CLI Procedure)
- EX2200 Switch Default Configuration
- EX3200 and EX4200 Default Configuration
- EX4500 Default Configuration
- EX8200 Switch Default Configuration
- Understanding Configuration Files for EX Series Switches
- For more information about the load factory default command see the Junos OS CLI User Guide at http://www.juniper.net/techpubs/software/junos/index.html.

