exit (EXEC)

To close an active terminal session by logging off the switch, use the exit command.

exit

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Examples

This example shows how the exit (global) command is used to move from configuration mode to EXEC mode and the exit (EXEC) command is used to log off (exit the active session):

switch(config)# exit
switch# exit
 

Related Commands

Command
Description
end
Ends your configuration session by exiting to EXEC mode.
exit (global)
Exits from the current configuration mode to the next highest configuration mode.