Description

Based on the following documentation, the config-button no-clear should be supported, however when this is configured on EX4300-48MP , its mentioned that is unsupported.
https://www.juniper.net/documentation/us/en/hardware/ex3400/topics/topic-map/ex3400-configuring-junos-os.html#id-reverting-to-the-default-factory-configuration-for-the-ex-series-switch  Reverting to the Factory-Default Configuration Using the Factory Reset/Mode button on EX2300, EX3400, and EX4300-48MP Switches
To set the EX2300 switches except the EX2300-24MP and EX2300-48MP switches, EX2300-C switches, EX3400 switches, and EX4300-48MP switches to the factory-default configuration, use the Factory Reset/Mode button located on the far right side of the front panel. Note: 
To revert a member switch of a Virtual Chassis to the factory-default configuration, disconnect the cables connected to the VCPs to avoid affecting Virtual Chassis configuration parameters (member ID, primary-role priority, and setting of VCP uplinks) on other members (see Disconnect a Fiber-Optic Cable) To revert to the factory-default configuration by using the Factory Reset/Mode button: Press the Factory Reset/Mode button for 10 seconds. The switch transitions into factory-default configuration, the console displays committing factory default configuration, and the Link/Activity LED on the RJ-45 network ports and the uplink ports is lit steadily in green color. Press the Factory Reset/Mode button for 10 more seconds. The switch transitions into initial setup mode, the console displays committing ezsetup config, and the Link/Activity LED on the RJ-45 network ports and the uplink ports blink in green color.

The Factory Reset/Mode button is enabled by default. You can disable the button using the CLI command:
To disable the Factory Reset/Mode button, run the commands:
	[edit]user@switch# set chassis config-button no-clear
	[edit]user@switch# commit

To enable the Factory Reset/Mode button, run the commands:
	[edit]user@switch# delete chassis config-button no-clear
	[edit]user@switch# commit
 

Solution

The following command "set chassis config-button no-clear" was missing on EX4300mp .

The command has been added on 23.4R2-S8 onwards.

 

Modification History

2026-02-18 : Article Created

Related Information