This article describes the process required to recover the admin password and, optionally, the enable password of an M4200 managed switch using the boot menu.
- Open a console connection to the switch using a terminal emulation program with these settings:
- Speed (baud): 115200
- Data bits: 8
- Stop bits: 1
- Parity: None
- Flow control: XON/XOFF
- Reboot the switch and monitor the console output closely.
- As soon as FASTPATH Startup -- Main Menu is displayed, type 2 and press Enter to display the boot menu. You need to do this quickly, otherwise the switch will continue to boot normally.

- In the boot menu, type 13 and press Enter:
- The switch boots into password recovery mode. When prompted for a username, press Enter to begin enable mode:

- Type configure and press Enter to change to configuration mode.
- To reset the admin password, use the command username admin password <newpassword> (replace <newpassword> with the password of your choice).
- Type exit and then press Enter to exit configuration mode.

- (Optional) To reset the enable password, type the command enable password <newpassword> (replace <newpassword> with the password of your choice).

- Type save and press Enter to save the changes. When prompted, type Y.
- Type reload and press Enter to reload the switch. When prompted type Y.
