Accessing An ExtremeXOS Switch When Admin Credentials Are Unknown

  • 1
  • 7
  • Article
  • Updated 2 years ago
  • (Edited)
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 as the 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
Press and hold the <spacebar> to enter the bootrom.

4) In the BootROM, enter the commands:
config none

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

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

8) 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).

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!
Photo of Drew C.

Drew C., Community Manager

  • 40,774 Points 20k badge 2x thumb

Posted 4 years ago

  • 1
  • 7
Photo of Nicolas Martinez

Nicolas Martinez

  • 160 Points 100 badge 2x thumb
Thank you Drew, very helpful.