exit
Use the exit command to leave the current mode and return to the previous mode. This command is available in exec mode and all higher CLI modes. When executed ends current mode and return to previous mode.
Command Syntax
Copy
exit
Parameters
None
Default
None
Command Mode
All command modes
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following example shows exiting interface mode and returning to configure mode.
Copy
#configure terminal
(config)#interface eth0
(config-if)#exit
(config)#