cancel
Showing results for 
Search instead for 
Did you mean: 

How to recover extreme switch username & password

How to recover extreme switch username & password

Sumit_Johari
New Contributor II
How to recover extreme switch username & password
26 REPLIES 26

Alexandr_P
Valued Contributor
Hi, Paul!

This script only create account, there no impact (effect) on other points of configuration.

Very important thing - DO NOT SAVE configuration after create script.

Thank you!

Alexandr_P
Valued Contributor
Hi!

1) Connect to the switch via serial console connection.
2) Power cycle the switch.
3) During the boot process, “hold the spacebar” to enter BootROM.
Extreme Networks
Alternate BootStrap Image
Starting CRC of Default image
Using Default image ...

Extreme Networks

Default BootLoader Image
DRAM Post
Press and hold the to enter the bootrom.
4) In the BootROM, enter the commands:
config none
boot
5) The switch should now boot to factory default settings. Login with the default credentials: admin/
login: admin
password:
6) From the prompt, use the vi editor to create and open a file entitled autoexec.xsf
vi autoexec.xsf
7) Then "i"nsert and type the following line, which will create a new user with admin privileges when executed.
create account admin test test
 Then write the file with ^ESC wq!
9) Lastly, reboot the switch, not saving the configuration by typing reboot and typing "n" at any prompts.
The commands within the autoexec.xsf file will be executed before the configuration file is loaded.
10) Login using the new account (test/test) from the CLI and make appropriate changes to the accounts to allow access
(e.g. delete and recreate the admin account).
Don't forget to delete the test account when done.
GTM-P2G8KFN