nerdexam
Cisco

010-151 · Question #27

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)#?

The correct answer is C. dir bootflash. During Cisco NX-OS password recovery, the switch(boot)# prompt supports the 'dir' command to list bootflash contents, not 'show' or 'display'.

Cisco Data Center System Devices Troubleshooting

Question

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)#?

Options

  • Adisplay bootflash:
  • Bshow bootflash:
  • Cdir bootflash:
  • Dfind bootflash:

How the community answered

(26 responses)
  • A
    8% (2)
  • B
    4% (1)
  • C
    73% (19)
  • D
    15% (4)

Why each option

During Cisco NX-OS password recovery, the switch(boot)# prompt supports the 'dir' command to list bootflash contents, not 'show' or 'display'.

Adisplay bootflash:

'display bootflash:' is not a valid NX-OS command in either normal or boot mode.

Bshow bootflash:

'show bootflash:' is not recognized at the switch(boot)# prompt because 'show' commands are only available in the full NX-OS CLI after a complete boot.

Cdir bootflash:Correct

At the switch(boot)# prompt in NX-OS boot mode, 'dir bootflash:' is the correct command to list the contents of the bootflash filesystem. The boot loader environment has a limited command set derived from common filesystem utilities, and 'dir' is the standard directory listing command available in that restricted context.

Dfind bootflash:

'find bootflash:' is not a valid boot mode command for listing directory contents in NX-OS.

Concept tested: NX-OS password recovery boot mode filesystem commands

Source: https://www.cisco.com/c/en/us/support/docs/switches/nexus-7000-series-switches/116007-nx-os-password-recovery.html

Topics

#bootflash contents#password recovery#NX-OS boot mode#dir command

Community Discussion

No community discussion yet for this question.

Full 010-151 Practice