2.1.6. exit

Syntax

exit

Parameter

Default

No default value for this command.

Mode

User EXEC Privileged EXEC Global Configuration Interface Configuration Line Configuration

Usage

In User EXEC mode, “exit” command will close current CLI session. In other modes, “exit” command will go to the parent mode. And every mode has the “exit” command.

Example

This example shows how to enter privileged EXEC mode and use exit command to go back to user EXEC mode.

Switch> enable
Switch# exit
Switch>