Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

resetting FI password

UI forgot our FI password, is there a quick way to reset that?

4 REPLIES
VIP Red

Look at eg.http://www.cisco

Look at eg.

http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/gui/config/guide/2-2/b_UCSM_GUI_Configuration_Guide_2_2/b_UCSM_GUI_Configuration_Guide_2_2_chapter_0101010.html

New Member

You will need a console

  1. You will need a console connection to the FI(s) that you want to recover the passwords on.
  2. Reboot the Primary FI (you need to remove PSU’s or the power cords ) and leave the Subordinate unplugged.
  3. Press ctrl+shift+r a few times as the interconnect boots to interrupt the boot process
  4. This should leave you at the extremely useful, yet very unfriendly <loader> prompt. First, we need to know what kickstart we can invoke via the “boot” command. To get that, type the following:

#dir

You will see output similar to the following:

loader> dir                                                                    

bootflash:

span.log

ucs-6100-k9-kickstart.5.0.3.N2.2.11.2a.bin

ucs-6100-k9-system.5.0.3.N2.2.11.2a.bin

<SNIP>

  1. The kickstart is in bold above. You want to boot off this image.

#boot ucs-6100-k9-kickstart.5.0.3.N2.2.11.2a.bin

  1. This will load kickstart and stop at the boot prompt. Form here type:

switch(boot)# conf t

Enter configuration commands, one per line. End with CNTL/Z.

switch(boot)(config)# admin-password mypassword (where mypassword is the password you want to use)

  1. The password is now changed. We just need to finish loading the FI. Again, “dir” is your friend here. Type the following:

switch(boot)(config)# exit

switch(boot)# dir

<SNIP>

ucs-6100-k9-system.5.0.3.N2.2.11.2a.bin

<SNIP>   

  1. You are interested in the system image in bold in the output above. At the (boot) prompt, type the following:

switch(boot)# ucs-6100-k9-system.5.0.3.N2.2.11.2a.bin

  1. The FI will now boot the system image and then load the UCS manager image bringing you to the login prompt.

 

New Member

Hi Tony,Please find the below

Hi Tony,

Please find the below steps & Link, hope it would helps you:-

Recovering the Admin Account Password in a Standalone Configuration
Before You Begin
1 Physically connect the console port on the fabric interconnect to a computer terminal or console server
2 Obtain the following information:
• The firmware kernel version on the fabric interconnect
• The firmware system version
Procedure
Step 1 Connect to the console port.

Step 2 Power cycle the fabric interconnect:

a) Turn off the power to the fabric interconnect.
b) Turn on the power to the fabric interconnect.

Step 3 In the console, press one of the following key combinations as it boots to get the loader prompt:
• Ctrl+l
• Ctrl+Shift+r
You may need to press the selected key combination multiple times before your screen displays the loader
prompt.

Step 4 Boot the kernel firmware version on the fabric interconnect.

loader > boot
/installables/fabric/kernel_firmware_version

Step 5 Enter config terminal mode.
Fabric(boot)# config terminal

Step 6 Reset the admin password.
Fabric(boot)(config)# admin-password
password
The new password displays in clear text mode.

Step 7 Exit config terminal mode and return to the boot prompt.

Step 8 Boot the system firmware version on the fabric interconnect.
Fabric(boot)# load /installables/fabric/system_firmware_version

Step 9 After the system image loads, log in to Cisco UCS Manager.

http://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/cli/config/guide/1-3-1/b_CLI_Config_Guide_1_3_1/CLI_Config_Guide_1_3_1_chapter41.html

 

Once got the answer please make it answered.

Regards,

Gaurav

Cisco Employee

Hello Tony,Following are

Hello Tony,

Following are steps to reset FI.

The only thing you’ll need is a console cable for the fabric interconnect(s) that you want to recover the passwords on. When you’ve got a connection to the console port of the FI, here are the basic steps:

 

  1. Reboot the FI
    1. Since you cannot login, you need to remove power to the FI by either removing the PSU’s or the power cords (whichever are easiest for you to reach)
  2. Press ctrl+shift+r a few times as the interconnect boots to interrupt the boot process

    <side note> In a normal boot, the FI is programmed to three specific images:

  • kickstart (kernel)
  • system (system)
  • management (UCSM)

This happens automatically. If something goes wrong with the boot process, the FI may stop after, before, or during any of these three stages. Depending on where it stops, you will have varying levels of functionality.

By interrupting the boot process, you must individually load the images yourself. If you were to reboot at any stage again, the FI will default back to its programmed boot sequence.

 

 

Regards,
Shahzad

 

  1. This should leave you at the extremely useful, yet very unfriendly <loader> prompt.

    The loader has a very limited command list (below):

    loader> help

    ? Print the command list

    boot Boot an image

    dir List the directory content

    help Print the command list or

    reboot Reboot the system

    resetcmos Reset CMOS to factory defa

    serial Serial console settings

    set Set network configuration

    show Show loader configuration

     

  2. First, we need to know what kickstart we can invoke via the “boot” command. To get that, type the following:

    dir

    You will see output similar to the following:

    loader> dir

    bootflash:

    lost+found


    ucs-6100-k9-kickstart.4.0.1a.N2.1.1e.bin

    ucs-6100-k9-system.4.0.1a.N2.1.1e.bin

    sysdebug

    chassis.img

    nuova-sim-mgmt-nsg.0.1.0.001.bin

    [output truncated]

     

  3. The kickstart is in bold above. To boot off of this image, I would type:

    Boot ucs-6100-k9-kickstart.4.0.1a.N2.1.1e.bin

     

  4. This will load kickstart and stop at the boot prompt. Form here type:

    switch(boot)# config terminal

    Enter configuration commands, one per line. End with CNTL/Z.

    switch(boot)(config)# admin-password mypassword (where mypassword is the password you want to use)

116
Views
0
Helpful
4
Replies