How to recover extreme switch username & password

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
How to recover extreme switch username &  password
Photo of Sumit Johari

Sumit Johari

  • 434 Points 250 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Alexandr P

Alexandr P, Embassador

  • 12,768 Points 10k badge 2x thumb
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 <spacebar> 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
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).  
Don't forget to delete the test account when done.
Photo of Paul

Paul

  • 2,026 Points 2k badge 2x thumb
Hi Alexandr,

it will not effect the rest of the configuration file of the switch except the admin account and password right? 

Thanks!

- Paul
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 43,328 Points 20k badge 2x thumb
Please try it without encryption...

X430-48t.22 # create account admin sumit
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 43,328 Points 20k badge 2x thumb
You'd delete the current account with...

* X430-48t.22 # delete account "sumit"
Photo of Sumit Johari

Sumit Johari

  • 434 Points 250 badge 2x thumb
done .

thanks.

Without encryption it is working.  
Photo of Sumit Johari

Sumit Johari

  • 434 Points 250 badge 2x thumb
if you want encryption .......Then? 
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 12,226 Points 10k badge 2x thumb
Hi Sumit, read my answer below, you can create account with password.

when creating the account, the keyword "encrypted" means you will provide an already encrypted password. Without that keyword, you provide a clear-text password.

Either way, the passwords are stored encrypted in the config. So a "sh conf" will not reveal them.
Photo of Sumit Johari

Sumit Johari

  • 434 Points 250 badge 2x thumb
Hi Team,

How to crate username in extreme switch through CLI .

What is default ip address of extreme to access with GUI mode.


Thanks
Sumit
Photo of Paul

Paul

  • 2,026 Points 2k badge 2x thumb
There are Default Two user account. 

try in cli :  configure account ?

configure account admin green
configure account user blue
Photo of Sumit Johari

Sumit Johari

  • 434 Points 250 badge 2x thumb
how to set password?

Diff between user and admin?
Photo of Sumit Johari

Sumit Johari

  • 434 Points 250 badge 2x thumb
what is issue
Photo of Paul

Paul

  • 2,026 Points 2k badge 2x thumb
what is your password for sumit? 
please post the command that you configured. 
 
Photo of Sumit Johari

Sumit Johari

  • 434 Points 250 badge 2x thumb
create account admin sumit encrypted india
password-india
Photo of Grosjean, Stephane

Grosjean, Stephane, Employee

  • 12,246 Points 10k badge 2x thumb
encrypted means you'll enter an already encrypted password. So your password is not "india" in your case. This is useful when someone else has to create accounts (NOC...) but shouldn't know them.

To have "india" as password, do the following:

# create account admin sumit
password: <type india here>
confirm password: <type india here>

or you can add the password in clear text in the CLI while creating the account.
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 43,522 Points 20k badge 2x thumb
Thanks, I wasn't aware of that and was wondering why I wasn't able to login with the encryption option set.

-Ron
Photo of Paul

Paul

  • 2,026 Points 2k badge 2x thumb
green is for admin password
#configure account admin green

blue is for user password
#configure account user blue
Photo of Paul

Paul

  • 2,026 Points 2k badge 2x thumb
I guess there is no Default ip address of extreme.


To access with Web GUI mode.

Follow this steps.

  • configure vlan "Default" ipaddress 10.10.10.1/24
  • enable port 1 

Connect your PC to port 1 and type 10.10.10.1 in your web browser.


Hope that it help.



- Paul
Photo of Sumit Johari

Sumit Johari

  • 434 Points 250 badge 2x thumb
what is default ip of extreme switch?
Photo of Drew C.

Drew C., Community Manager

  • 36,792 Points 20k badge 2x thumb
There is no default IP address on the switch.  However, in EXOS 15.7+, DHCP is enabled by default on the mgmt port and the front panel ports.
(Edited)
Photo of Paul

Paul

  • 2,026 Points 2k badge 2x thumb
Assign your PC to 10.10.10.2/24. Thanks. 

Let me know the output result.
Photo of Patrick Voss

Patrick Voss, Alum

  • 11,714 Points 10k badge 2x thumb