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.
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)- A12% (3)
- C81% (21)
- D4% (1)
- E4% (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.
'exec' is not a valid command at the kickstart boot prompt; this syntax does not exist on Cisco Nexus platforms.
'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.
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.
'connect nxos' transitions from the kickstart environment into the NX-OS shell and does not provide the admin-password recovery subcommand.
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
Community Discussion
No community discussion yet for this question.