Configuration Guide Vol. 1


6.4.6 Finish editing the configuration (exit command.).

When you have finished editing the running configuration, execute the exit command in global configuration mode. If you execute the exit command without saving the changes to the startup configuration file via the save command, a confirmation message appears. To exit configuration command mode without saving your changes, type y. If you type any other letter, you will remain in configuration command mode. Figure 6-15: Example of ending configuration editing and Figure 6-16: Example of ending configuration editing when changes are not saved are shown.

Figure 6-15: Example of editing the configuration
!(config)# save
(config)# exit             ..1
  1. End configuration editing.

Figure 6-16: Example of ending configuration editing without saving changes
# configure                                                            ..1
(config)# 
       :
       :                                                               ..2
       :
!(config)# exit
Unsaved changes found! Do you exit "configure" without save ? (y/n): y ..3
!#
  1. Start configuration editing.

  2. Change the configuration.

  3. A confirmation message appears.