cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing An ExtremeXOS Switch When Admin Credentials Are Unknown

Accessing An ExtremeXOS Switch When Admin Credentials Are Unknown

Drew_C
Valued Contributor III
Forgotten passwords happen - Here's a helpful guide on EXOS password recovery. It will work on EXOS 12.1 or greater.
This procedure does not work for EXOS Summit switches with BootROM version 2.0.2.1 as the
code:
config none
command is not present in that BootROM version.

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:
code:
config none

code:
boot


5) The switch should now boot to factory default settings. Login with the default credentials: admin/
code:
login: admin

code:
password:


6) From the prompt, use the vi editor to create and open a file entitled autoexec.xsf
vi autoexec.xsf
7) Then "
code:
i
"nsert and type the following line, which will create a new user with admin privileges when executed.
code:
create account admin test test


 Then write the file with
code:
^ESC :wq


9) Lastly, reboot the switch, not saving the configuration by typing
code:
reboot
and typing "
code:
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).

11) Delete the test account and the autoexec.xsf file.
delete account test
rm autoexec.xsf
--Thanks to Matthew Helm for putting this article together!
1 REPLY 1

Nicolas_Martine
New Contributor II
Thank you Drew, very helpful.
GTM-P2G8KFN