Specifications
exit
15
exit
Returns to the previous mode. If you are editing data in config mode, configuration
command mode ends and administrator mode resumes. If you are editing data in
subcommand mode, you are returned to the next higher level.
Syntax
exit
Parameters
None
Response messages
The following table describes the response messages for the exit command.
Table 3-2 Response messages for the exit command
Message Description
Unsaved changes would be lost when the machine
goes to sleep!
Do you exit "configure" without save ? (y/n):
When the following commands are configured,
configuration command mode will end without any
changes being saved:
schedule-power-control system-sleep
schedule-power-control time-range
The configuration changes you made will be lost
when the Switch switches to sleep mode. Enter y to
finish editing. Enter n to stop the exit command. If
necessary, use the save command to save the edited
configuration.
The machine is just going to sleep! Do you exit ? (y/n): If configuration command mode ends, the Switch will
switch to sleep mode.
Enter y to switch to the sleep state. If you do not want
to switch to the sleep state, enter n to cancel the exit
command, and then use the (config)# $set
power-control schedule disable command to
set the power saving schedule functionality to
suppression mode.
Notes
Note the following if you use the exit command in config mode:
1. You can use the
exit command to temporarily exit configuration command mode
without saving the configuration file to internal flash memory. Because the
configuration file at this time is still being edited, first edit the configuration file, and
then save it.
2. After editing the running configuration, if you execute the
exit command without
saving the changes you made to internal flash memory, the startup configuration file
in internal flash memory and the running configuration will no longer be the same.
After editing the configuration, you must always save your changes.
Related commands
None