This document describes a comprehensive guide on the procedure to recover a lost password on CIsco UCS Fabric Interconnect.
Physical access to the Fabric Interconnect.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
Note: Repeat these steps on both Fabric Interconnects (one at the time) if is a cluster configuration.
1. Connect to the console port. Plug the RJ-45 end of the serial management cable into the console port on the fabric interconnect, and connect the DB-9 male end into the serial port on a laptop or other computer.
2. Power cycle the Fabric Interconnect:
3. Press the key combination in the console as it boots: Ctrl + C.
4. At the loader prompt, find the system image that is used to boot with command dir.
loader > dir
bootflash::
lost+found
ucs-manager-k9.4.2.3e.bin
.rpmstore
ucs_chassis_imgs
installables
ucs-6400-k9-system.9.3.5.I42.3d.bin <----
nuova-sim-mgmt-nsg.0.1.0.001.bin
5. Run the command cmdline recoverymode=1 to enable recovery mode.
loader > cmdline recoverymode=1
6. Boot the system image on the Fabric Interconnect.
loader > boot ucs-6400-k9-system.9.3.5.I42.3d.bin
7. Then, enter to the config terminal mode.
switch(boot)# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)#
8. Reset the admin password.
switch(boot)(config)# admin-password <your_password>
9. Exit the config terminal mode.
10. Reload the Fabric Interconnect.
switch(boot)(config)# exit
switch(boot)# reload
This command will reboot this supervisor module. (y/n) ? y
Establish a connection via SSH to the management IP of the Fabric Interconnect and Log In using the updated password.
login as: admin
Pre-authentication banner message from server:
| Cisco UCS 6500 Series Fabric Interconnect
End of banner message from server
admin@X.X.X.X's password: N3wp4ssw0rd
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2009, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
FI-6454-A#
| Revision | Publish Date | Comments |
|---|---|---|
3.0 |
11-Jun-2026
|
Update with new Fabric Interconnect generations |
1.0 |
16-Feb-2024
|
Initial Release |