nerdexam
Cisco

010-151 · Question #25

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 <password>. At the Cisco Nexus kickstart boot prompt, the admin password is reset by entering configure terminal first 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 <password>
  • Bconnect local-mgmt -> admin-password <password>
  • Cconfigure terminal -> admin-password <password>
  • Dconnect nxos -> admin-password <password>
  • Eadmin-password <password>

How the community answered

(26 responses)
  • A
    12% (3)
  • C
    81% (21)
  • D
    4% (1)
  • E
    4% (1)

Why each option

At the Cisco Nexus kickstart boot prompt, the admin password is reset by entering configure terminal first and then issuing the admin-password command.

Aexec -> admin-password <password>

'exec' is not a valid command at the kickstart boot prompt; this syntax does not exist on Cisco Nexus platforms.

Bconnect local-mgmt -> admin-password <password>

'connect local-mgmt' is used from the normal NX-OS exec prompt to enter the local management context, not from the kickstart prompt for password recovery.

Cconfigure terminal -> admin-password <password>Correct

At the 'switch(boot)#' kickstart prompt, configuration mode must be entered with 'configure terminal' before issuing privileged configuration commands. The 'admin-password <password>' command within configure terminal resets the admin password without requiring knowledge of the existing password, enabling recovery from a locked-out state.

Dconnect nxos -> admin-password <password>

'connect nxos' transitions from the kickstart environment into the NX-OS shell and does not provide the admin-password recovery subcommand.

Eadmin-password <password>

The 'admin-password' command cannot be issued directly at the exec level of the 'switch(boot)#' prompt; configure terminal context is required first.

Concept tested: Cisco Nexus admin password recovery from kickstart prompt

Source: https://www.cisco.com/c/en/us/support/docs/switches/nexus-7000-series-switches/116187-technote-nexus-00.html

Topics

#password recovery#admin password reset#kickstart mode#NX-OS boot

Community Discussion

No community discussion yet for this question.

Full 010-151 Practice