Exit Configuration Mode
To exit configuration mode, use the
exit configuration-modeconfiguration mode command from any level or use theexitcommand from the top level. If you try to exit from configuration mode using theexitcommand and the configuration contains changes that have not been committed, you see a message and prompt:[edit]user@host#exitThe configuration has been changed but not committedExit with uncommitted changes? [yes,no] (yes)<Enter>Exiting configuration modeuser@host>To exit with uncommitted changes without having to respond to a prompt, use the
exit configuration-modecommand.