Command:

exit


Mode:

Router>
Router#
Router(config)#
Router(config-if)#
Router(config-line)#
Router(config-router)#
...

Syntax:

exit

Syntax Description:

This command has no arguments or keywords.

Command Description:

Use the exit command at the EXEC levels to exit the EXEC mode. Use the exit command at the configuration level to return to privileged EXEC mode. Use the exit command in interface, line, router, IPX-router, and route-map command modes to return to global configuration mode. Use the exit command in subinterface configuration mode to return to interface configuration mode. You also can press Ctrl-Z, or use the end command, from any configuration mode to return to privileged EXEC mode.

Example:

The following command will return the router session from the global config mode to the privilege exec mode. 

Router(config)#exit
Router#


Misconceptions:

 

The disable and exit commands are often confused. Exit is thought to return to the previous prompt. However from the privilege exec prompt, exit will terminate the session. To return to the previous mode (user exec), use disable.

Related Commands:
disable

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)