New Horizons Get Schooled Blog

Four ways to exit Cisco configuration mode

Cisco IOS gives you four ways to exit configuration mode back to privileged EXEC mode: Ctrl-Z, Ctrl-C, and the "end" and "exit" commands. At first, these methods may appear similar, but there are some important differences regarding which ones to use.

"Exit" is a little different from the other commands in that it returns you back to whatever mode you were in before. This means that only in global configuration mode does it return you to privileged EXEC; in other configuration modes, it returns you to the previous configuration mode. In contrast, the other commands allow you to jump all the way out of any configuration mode back to privileged EXEC.

The difference between Ctrl-Z and using either "end" or Ctrl-C is that Ctrl-Z first adds the command to the left of the cursor to the configuration, so it's equivalent to pressing the Enter key and then using the "end" command. This can be a way to minimize keystrokes. However, to avoid accidentally adding a command to the configuration, you may want to be careful about getting in the habit of always using Ctrl-Z. Hence, Ctrl-C could be viewed as a safer shortcut.


New Horizons is an Authorized Cisco Training Partner. View our Cisco course listings here!

Posted on 8/13/12 10:44 AM by Get Schooled in Cisco, in Cisco IOS, in Configuration mode, in IT Career, in Tips & Tricks

Get Schooled

Written by Get Schooled

Search by Topic

    Lists by Topic

    see all

    Be at the center of it all.


    Knowledge Ninjas

    a web-based service that allows software application end users to access a subject matter expert in real-time via a chat interface to resolve questions or problems they encounter in their specific software.