nerdexam
Cisco

010-151 · Question #19

Which command can be used to exit to EXEC mode from this current mode? switch(config-if) #

The correct answer is E. end. From interface configuration mode (config-if), the 'end' command exits directly back to privileged EXEC mode, bypassing all intermediate configuration levels.

Cisco IOS and NX-OS Software Configuration and Operations

Question

Which command can be used to exit to EXEC mode from this current mode? switch(config-if) #

Options

  • ACtrl-C
  • BCtrl-L
  • Cquit
  • Dexit
  • Eend

How the community answered

(39 responses)
  • A
    5% (2)
  • B
    3% (1)
  • C
    3% (1)
  • D
    13% (5)
  • E
    77% (30)

Why each option

From interface configuration mode (config-if), the 'end' command exits directly back to privileged EXEC mode, bypassing all intermediate configuration levels.

ACtrl-C

Ctrl-C interrupts or cancels the current operation and does not reliably exit to EXEC mode; its behavior varies by context.

BCtrl-L

Ctrl-L is a terminal control sequence used to refresh or redraw the screen, not a mode-exit command.

Cquit

'quit' is not a valid NX-OS or IOS CLI command for exiting configuration submodes.

Dexit

'exit' from config-if mode moves up only one level to global configuration mode (config)#, not all the way to EXEC mode.

EendCorrect

The 'end' command (or Ctrl-Z) in NX-OS and IOS immediately returns the user to privileged EXEC mode from any configuration submode, including config-if. Unlike 'exit', which only moves up one level to global configuration mode, 'end' traverses all intermediate modes in a single step.

Concept tested: NX-OS CLI navigation - exiting to EXEC mode

Source: https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5000/sw/configuration/guide/cli/CLIguide/cli_overview.html

Topics

#CLI navigation#EXEC mode#end command#interface configuration mode

Community Discussion

No community discussion yet for this question.

Full 010-151 Practice