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.
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)- A5% (2)
- B3% (1)
- C3% (1)
- D13% (5)
- E77% (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.
Ctrl-C interrupts or cancels the current operation and does not reliably exit to EXEC mode; its behavior varies by context.
Ctrl-L is a terminal control sequence used to refresh or redraw the screen, not a mode-exit command.
'quit' is not a valid NX-OS or IOS CLI command for exiting configuration submodes.
'exit' from config-if mode moves up only one level to global configuration mode (config)#, not all the way to EXEC mode.
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
Community Discussion
No community discussion yet for this question.