6 exit (exec) – CANOGA PERKINS 9175 Command Reference User Manual
Page 38
3-4
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. At the highest level, EXEC mode, the exit command will exit the EXEC mode and disconnect
from the switch interface (see the description of the exit (EXEC) command for details).
Examples
The following example displays an exit from the interface configuration mode to return to the global
configuration mode:
Switch(config-if)# exit
Switch(config)#
Related Commands
end
exit (EXEC)
3.6 exit (EXEC)
To close an active terminal session by logging off the switch, use the exit command in EXEC mode.
Command Syntax
exit
Command Mode
EXEC
Usage
Use the exit command in EXEC mode to exit the active session (log off the device). This command can
be used in any EXEC mode (such as User EXEC mode or Privileged EXEC mode) to exit from the EXEC
process.
Examples
In the following example, the exit (global) command is used to move from global configuration mode to
privileged EXEC mode, the disable command is used to move from privileged EXEC mode to user
EXEC mode, and the exit (EXEC) command is used to log off (exit the active session):
Switch(config)# exit
Switch# disable
Switch> exit
Related Commands
Quit
CanogaOS Command Reference