I will describe examples of resetting the settings on the Alcatel OmniStack LS 6224 in several ways.
1) Connect to the device and execute the command to delete the configuration and restart:
enable delete startup-config reload
Just in case, before deleting the configuration, you can make a backup copy to the tftp server or locally:
copy startup-config tftp://10.10.0.18/startup-config copy startup-config startup-config-backup dir
To return it is possible so:
copy tftp://10.10.0.18/startup-config startup-config copy startup-config-backup startup-config
2) If the password for the switch is unknown, then connect to it with a console cable, the speed is usually 9600.
Turn on the power switch, waiting for the message:
Autoboot in 2 seconds – press RETURN or Esc. to abort and enter prom.
When the message appears – press the “Enter” or “Esc” key, in the resulting menu select “ Password Recovery Procedure”, then “ Back” and wait for the device to start.
After that, the switch will start and will not ask for the password, just delete the configuration as I wrote above or change the password to the user:
enable configure username admin password PASSWORD level 15 exit copy running-config startup-config reload