nerdexam
Cisco

010-151 · Question #90

Which command syntax is correct to reset the admin password when the switch is in the kickstart prompt? switch(boot) #"

The correct answer is C. configure terminal -> admin-password. At the Cisco NX-OS kickstart prompt (switch(boot)#), the admin password is reset by entering configure terminal to reach configuration mode and then issuing the admin-password command.

Cisco Data Center System Devices Troubleshooting

Question

Which command syntax is correct to reset the admin password when the switch is in the kickstart prompt? switch(boot) #"

Options

  • Aexec -> admin-password
  • Bconnect local-mgmt -> admin-password
  • Cconfigure terminal -> admin-password
  • Dconnect nxos -> admin-password <password>
  • Eadmin-password

How the community answered

(31 responses)
  • A
    6% (2)
  • B
    10% (3)
  • C
    81% (25)
  • E
    3% (1)

Why each option

At the Cisco NX-OS kickstart prompt (switch(boot)#), the admin password is reset by entering configure terminal to reach configuration mode and then issuing the admin-password command.

Aexec -> admin-password

'exec' is not a valid NX-OS kickstart-mode command for transitioning to a context where the admin password can be reset.

Bconnect local-mgmt -> admin-password

'connect local-mgmt' is a Cisco UCS Fabric Interconnect command used to access the local management shell, not a valid command in NX-OS kickstart mode.

Cconfigure terminal -> admin-passwordCorrect

In Cisco NX-OS boot/kickstart mode, 'configure terminal' transitions the session into configuration mode, from which the 'admin-password' command can be executed to set a new administrator password. This two-step sequence is the documented NX-OS password recovery procedure when the switch is accessed at the kickstart prompt. The configure terminal step is mandatory because 'admin-password' is a configuration-level command and cannot be executed directly from the exec-level boot prompt.

Dconnect nxos -> admin-password <password>

'connect nxos' followed by 'admin-password' is not the correct syntax for kickstart-mode password recovery and does not replace the required configure terminal step.

Eadmin-password

Running 'admin-password' directly at the switch(boot)# prompt without first entering configure terminal fails because the command requires configuration mode context and is not accessible from the exec-level boot prompt.

Concept tested: NX-OS admin password reset from kickstart boot prompt

Source: https://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/nx-os-software/116187-technote-nexus-00.html

Topics

#admin password reset#kickstart prompt#NX-OS password recovery#NX-OS CLI

Community Discussion

No community discussion yet for this question.

Full 010-151 Practice