How to recover extreme switch username & password


How to recover extreme switch username & password

26 replies

Userlevel 6
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.
Userlevel 3
Hi Alexandr,

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

Thanks!

- Paul
Userlevel 6
Paul wrote:

Hi Alexandr,

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

Thanks!

- Paul

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!
Userlevel 6
Paul wrote:

Hi Alexandr,

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

Thanks!

- Paul

Also - this do not change admin-admin account, it's only create new admin-test account.
You can login with admin-test and change password of admin-admin account.
Paul wrote:

Hi Alexandr,

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

Thanks!

- Paul

How to create username in extreme switch through CLI .
Userlevel 7
Paul wrote:

Hi Alexandr,

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

Thanks!

- Paul

Please try it without encryption...

X430-48t.22 # create account admin sumit
Userlevel 7
Paul wrote:

Hi Alexandr,

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

Thanks!

- Paul

You'd delete the current account with...

* X430-48t.22 # delete account "sumit"
Paul wrote:

Hi Alexandr,

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

Thanks!

- Paul

done .

thanks.

Without encryption it is working.
Paul wrote:

Hi Alexandr,

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

Thanks!

- Paul

if you want encryption .......Then?
Userlevel 7
Paul wrote:

Hi Alexandr,

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

Thanks!

- Paul

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.
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
Userlevel 3
There are Default Two user account.

try in cli : configure account ?

configure account admin green
configure account user blue
how to set password?

Diff between user and admin?
Userlevel 3
Sumit Johari wrote:

how to set password?

Diff between user and admin?

* Slot-1 Stack.5 # sh account

User Name Access LoginOK Failed
-------------------------------- ------ ------- ------
admin R/W 6 0
user RO 0 0

Admin has full access Read and Write access.

User only have Read Only access.
Sumit Johari wrote:

how to set password?

Diff between user and admin?

* X450e-24p.3 # show accounts User Name Access LoginOK Failed
-------------------------------- ------ ------- ------
admin R/W 5 0
user RO 0 0
sumit R/W 0 4
* X450e-24p.4 #

Getting error
Sumit Johari wrote:

how to set password?

Diff between user and admin?

what is issue
Userlevel 3
Sumit Johari wrote:

how to set password?

Diff between user and admin?

what is your password for sumit?
please post the command that you configured.
Sumit Johari wrote:

how to set password?

Diff between user and admin?

create account admin sumit encrypted india
password-india
Userlevel 7
Sumit Johari wrote:

how to set password?

Diff between user and admin?

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:
confirm password:

or you can add the password in clear text in the CLI while creating the account.
Userlevel 7
Sumit Johari wrote:

how to set password?

Diff between user and admin?

Thanks, I wasn't aware of that and was wondering why I wasn't able to login with the encryption option set.

-Ron
Userlevel 3
green is for admin password
#configure account admin green

blue is for user password
#configure account user blue
Userlevel 3
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
what is default ip of extreme switch?
Userlevel 7
Sumit Johari wrote:

what is default ip of extreme switch?

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.
Userlevel 3
Assign your PC to 10.10.10.2/24. Thanks.

Let me know the output result.

Reply