Recovering a Lost Password
This chapter includes the following sections:
- Password Recovery for the Admin Account
- Determining the Leadership Role of a Fabric Interconnect
- Recovering the Admin Account Password in a Standalone Configuration
- Recovering the Admin Account Password in a Cluster Configuration
Password Recovery for the Admin Account
The admin account is the system administrator or superuser account. If an administrator loses the password to this account, you can have a serious security issue. As a result, the procedure to recover the password for the admin account requires you to power cycle all fabric interconnects in a Cisco UCS instance.
When you recover the password for the admin account, you actually change the password for that account. You cannot retrieve the original password for that account.
You can reset the password for all other local acounts through Cisco UCS Manager. However, you must log in to Cisco UCS Manager with an account that includes aaa or admin privileges.
![]() Caution |
This procedure requires you to power down all fabric interconnects in a Cisco UCS instance. As a result, all data transmission in the instance is stopped until you restart the fabric interconnects. |
Determining the Leadership Role of a Fabric Interconnect
Command or Action | Purpose | |
---|---|---|
Step 1 | UCS-A# show cluster state | Displays the operational state and leadership role for both fabric interconnects in a cluster. |
The following example displays the leadership role for both fabric interconnects in a cluster, where fabric interconnect A has the primary role and fabric interconnect B has the subordinate role:
UCS-A# show cluster state Cluster Id: 0x4432f72a371511de-0xb97c000de1b1ada4 A: UP, PRIMARY B: UP, SUBORDINATE HA READY
Recovering the Admin Account Password in a Standalone Configuration
This procedure will help you to recover the password that you set for the admin account when you performed an initial system setup on the fabric interconnect. The admin account is the system administrator or superuser account.
-
Physically connect the console port on the fabric interconnect to a computer terminal or console server
-
Determine the running versions of the following firmware:
![]() Tip |
To find this information, you can log in with any user account on the Cisco UCS instance. |
Recovering the Admin Account Password in a Cluster Configuration
This procedure will help you to recover the password that you set for the admin account when you performed an initial system setup on the fabric interconnects.The admin account is the system administrator or superuser account.
-
Physically connect a console port on one of the fabric interconnects to a computer terminal or console server
-
Obtain the following information:
![]() Tip |
To find this information, you can log in with any user account on the Cisco UCS instance. |