MXL: 9.5 New command to restore factory defaults and remove stacking configuration

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

MXL OS versions 9.5 and subsequent releases introduced a new CLI command which can be used to reset the switch to factory defaults mode. The command syntax is:

# restore factory-defaults stack-unit all clear-all

The command performs the following:

  • Deletes the startup configuration
  • Clears the NOVRAM and Boot variables, depending on the arguments passed
  • Provides an option to select BMP or abort BMP and use normal reload-type
  • Resets the user ports to their default native modes (ie., non-stacking, no 40G to 4x10G breakouts, etc.)
  • Removes all CLI users.

The command reloads the switch in a similar state to a brand new device.

Restore does not change the current OS images and partition from which the switch will boot up.

Restore does not delete any of the files stored in the SD (except startup-config)

      The Restore command is especially useful to remove the stacking configuration from a switch.

Resolution

Configuration example:

1)  Use the Restore command to reload the switch to factory default, including removal of stacking configuration

    console#restore factory-defaults stack-unit all clear-all

     Proceed: yes

 

2) When prompted about BMP, select option A to abort BMP and use normal reload-type

To continue with the standard manual interactive mode, it is necessary to abort BMP.

Press A to abort BMP now.

Press C to continue with BMP.

Press L to toggle BMP syslog and console messages.

Press S to display the BMP status.

[A/C/L/S]: A

 

3) Check to make sure that after the reboot the reload-type will be normal-reload

 

console#show reload-type

Reload-Type                :   bmp [Next boot : normal-reload]

auto-save                  :   disable

config-scr-download        :   enable

dhcp-timeout               :   disable

vendor-class-identifier    :

retry-count                :   0

 

4) Reload the switch to complete the procedure and set the switch to normal reload-type.

console#reload

 

 

Article Properties
Article Number: 000149408
Article Type: Solution
Last Modified: 05 Jun 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.