Basic Command-Line Interface Commands Page 10

ADVERTISEMENT

Basic Command-Line Interface Commands
exit (global)
exit (global)
To exit any configuration mode to the next highest mode in the CLI mode hierarchy, use the exit
command in any configuration mode.
exit
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
All configuration modes
Command History
Release
Modification
10.0
This command was introduced.
Usage Guidelines
The exit command is used in the Cisco IOS CLI to exit from the current command mode to the next
highest command mode in the CLI mode hierarchy.
For example, use the exit command in global configuration mode to return to privileged EXEC mode.
Use the exit command in interface, line, or router configuration mode to return to global configuration
mode. Use the exit command in subinterface configuration mode to return to interface configuration
mode. At the highest level, EXEC mode, the exit command will exit the EXEC mode and disconnect
from the router interface (see the description of the exit (EXEC) command for details).
Examples
The following example displays an exit from the subinterface configuration mode to return to the
interface configuration mode:
Router(config-subif)# exit
Router(config-if)#
The following example displays an exit from the interface configuration mode to return to the global
configuration mode:
Router(config-if)# exit
Router(config)#
Related Commands
Command
Description
disconnect
Disconnects a line.
end
Exits from any configuration mode to privileged EXEC mode.
exit (EXEC)
Closes the active terminal session by logging off the router.
Cisco IOS Configuration Fundamentals Command Reference
FR-12
78-11740-02

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education