Recovering from a lost password on a X94000001-01 XPress-Pro SW 94000
How can recover from a lost password on an XPress-Pro SW 94000?
- Connect a Com port on a laptop or a PC running a serial terminal emulator to the console port on the switch using the RS-232 serial cable and set the communication parameters as follows:
- Baud Rate-> 115200
- Databits-> 8
- Parity-> None
- Stop Bit-> 1
- Flow Control -> None.
- Power cycle the XPress-Pro SW 94000 switch.
- Hit the Esc key as soon as you see the “Press ESC to Enter Setup Mode” message. You will see the “Boot>” boot loader prompt.
- Press CTRL+ D (^D). You will see the “Debugger Entered from Console” message plus some memory locations, and then the “DBG>>” debugger prompt.
- At the debugger prompt enter (or copy & paste) the following command exactly: read -b ffc08020 100
- You will find the Admin and Guest password on the right hand side of the output from the above command. The Admin password should be in the first row, and the Guest password should be in the third row. See the example session below for reference.
Bootstrap v7.01f(Sep 23 2004 14:03:30) 2MBFl
Press ESC to Enter Setup Mode <- Press ESC
ZL5040x Debug Monitor v1.1 (Sep 23 2004 14:04:02)
2MBFl 1QDelay Board ID @x80050040 =x10f0000 phy_rmii cpu_16b
Booting Switch...
<- Press ^D (Ctrl+D)
Boot> Debugger Entered from Console
PC : ffc03e14 MSR : 00001002 LR : ffc01ba8 CR : 30000000 XER : e000ff7f
CTR : ffc23a6c DEC : ffc01b28 R0 : 00208094 R1 : 00000000 R2 : ffc02590
R3 : 00000002 R4 : 00000000 R5 : 00000000 R6 : 00000000 R7 : 00000001
DBG>> read -b ffc08020 100 <- type text in bold
FFC08020: 80 00 00 00 50 41 53 53 00 00 00 00 00 00 00 00 ....PASS........ <- admin password
FFC08030: 00 00 00 00 00 00 61 64 6D 69 6E 00 00 00 00 00 ......admin.....
FFC08040: 00 00 00 01 73 79 73 74 65 6D 00 00 00 00 00 00 ....system...... <- guest password
FFC08050: 00 00 00 00 00 00 67 75 65 73 74 00 00 00 00 00 ......guest.....
FFC08060: 00 00 00 00 58 50 72 65 73 73 2D 50 72 6F 20 53 ....XPress-Pro S
FFC08070: 57 20 39 34 30 30 30 00 00 00 00 00 00 00 00 00 W 94000.........
FFC08080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
FFC08090: 00 00 00 00 73 77 69 74 63 68 5F 61 00 00 00 00 ....switch_a....
FFC080A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
FFC080B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
FFC080C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
FFC080D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
FFC080E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
FFC080F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
FFC08100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
FFC08110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
DBG>> reboot
Log in using the admin password you read from the debugger, then change the password to something new, or just use the password you recovered.
Here is an example session showing the procedure to change the admin password on an XPress-Pro SW 94000.
XPress-Pro SW 94000
System Name: switch_a
Console Login: admin
Password: PASS <-- does not echo. Use recovered password.
+------------------------------------------------------------------------------+
| XPress-Pro SW 94000 switch_a |
| /Switch Management admin |
+------------------------------------------------------------------------------+
+--------------------------+
| Switch Management |
+--------------------------+
| |Basic Management | <- Choose "Basic Management"
| |Advanced Management |
| |Logout |
| |Save Settings |
| |Restore Default Settings|
| |Reboot |
+--------------------------+
--------------------------------------------------------------------------------
<UpArrow><DownArrow>Move <Enter>Select <ESC>Previous
---next page---
+------------------------------------------------------------------------------+
| XPress-Pro SW 94000 switch_a |
| /Switch Management/Basic Management admin |
+------------------------------------------------------------------------------+
+------------------------+
| Basic Management |
+------------------------+
| |General | <- choose "General"
| |LAN Port |
| |Console Port |
+------------------------+
--------------------------------------------------------------------------------
<UpArrow><DownArrow>Move <Enter>Select <ESC>Previous
---next page---
+------------------------------------------------------------------------------+
| XPress-Pro SW 94000 switch_a |
| /Switch Management/Basic Management/General admin |
+------------------------------------------------------------------------------+
+------------------------------------------------------+
| General |
+------------------------------------------------------+
| |Hardware Revision: 300030 Rev.0 |
| |Hardware Configuration: eqm1g8.rom |
| |Software Revision: v1.3 (Jul 26 2006 15:27:28) |
| |Firmware Revision: No Firmware |
| | ---------------- |
| |System Name: switch_a |
| |Contact: |
| |Location: | Use the down arrow to select
| |admin Password: ****** | <-"admin Password" and follow the
| |guest Password: ****** | prompts to change it
| |Statistics Collection: Enabled |
| |Reboot-On-Error: Enabled |
| |Remote Telnet Login: Enabled |
| |Remote HTTP Login: Enabled |
+------------------------------------------------------+
--------------------------------------------------------------------------------
<UpArrow><DownArrow>Move <Enter>Modify <ESC>Previous
[Originally Published On: 06/08/2015 03:53 PM]