This topic explains how to regain access to an M4500 switch through SSH port 22 and recover the Linux system password to upgrade firmware.
This is a process to regain access to the switch so that you can use SSH to connect to port 22 and perform a firmware upgrade. You do need physical access to the switch console port to complete the process. You also need a computer with a serial port or a USB-to-serial-port adaptor and the serial-to-RJ45 cable that comes with the M4500 series switch.
When you start the switch for the first time, the default Linux user name is admin and the default password is EndGame. (This password is different from the password that you use to log to the switch CLI after you have completed the recovery process.)
- Use the console to access the switch, press Ctrl+Z to display the menu, and after Enter your menu option, enter your Linux password to enable the Linux system password reset.
- After new options display in the menu, enter 6 to reset the Linux system password, and type Yes to confirm the action.
The following message displays on the console, and the password is reset to defaults:
**** Linux system password is updated ****
**** Remember change password via SSH ****
- Open the Tera Term program and use SSH to connect to port 22.
- In the User name field, type admin, and in the Passphrase field, type EndGame.
- After the SSH connection is successfully established, type EndGame as the current UNIX password.
- Type a new password two times to define a new Linux system password.
- With your new password, use SSH to log in to port 22. Then, press Ctrl+Z to display the menu, and select to update the firmware.