To do a password recovery on a Cisco NX-OS Switch, which option shows the correct syntax to display the bootflash contents at the switch(boot)#?
Click on the arrows to vote for the correct answer
A. B. C. D.C.
The correct syntax to display the contents of the bootflash on a Cisco NX-OS Switch during password recovery is "dir bootflash:". Therefore, the correct answer is C.
Here's a brief explanation of each of the options:
A. "display bootflash:" is not a valid command in NX-OS. The correct command to display a file on the bootflash would be "more bootflash:<filename>".
B. "show bootflash:" is also not a valid command in NX-OS. The correct command to display the contents of the bootflash would be "dir bootflash:".
C. "dir bootflash:" is the correct command to display the contents of the bootflash on a Cisco NX-OS Switch.
D. "find bootflash:" is not a valid command in NX-OS. The correct command to search for a file on the bootflash would be "find bootflash:<filename>".
During a password recovery, the "dir bootflash:" command is used to view the files in the bootflash, and the "boot bootflash:<filename>" command is used to boot the switch with a specific file. This allows the user to bypass the normal boot process and gain access to the switch in order to perform a password recovery.