2-21
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 2 Cisco IOS XR Basic Configuration Management
Managing Configuration Sessions
Ending a Configuration Session
The commands used to end a configuration session are summarized in Table 2-8.
Table 2-8 Commands to End a Configuration Sessions
The following sections provide examples of ending a configuration session:
• Exit Command Example, page 2-21
• End Command Example, page 2-22
• Abort Command Example, page 2-22
Exit Command Example
To return to the previous configuration mode without saving changes to the target configuration, use the
exit command. When you use this command to return to the EXEC mode, you are prompted to commit
any uncommitted changes.
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface POS 0/3/0/1
RP/0/RP0/CPU0:router(config-if)# description this is my interface
RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0
RP/0/RP0/CPU0:router(config-if)# exit
RP/0/RP0/CPU0:router(config)# exit
Uncommitted changes found, commit them? [yes]: no
RP/0/RP0/CPU0:router#
Note In EXEC mode, the exit command is used to log out of the system.
Command Description
exit Returns to the next highest mode, one step at a time. If you use this command to
exit global configuration mode and enter EXEC mode, you are prompted to save
any uncommitted changes to the target configuration.
Note In EXEC mode, the exit command is used to log out of the system.
end Returns directly to EXEC mode from any configuration mode. You are prompted
to save any uncommitted changes to the target configuration.
abort Discards any changes to the target configuration and returns directly to EXEC
mode. No warning is given before the configuration changes are deleted.