Cisco Systems ASR 9000 Network Router User Manual


 
FINAL DRAFT —Cisco Confidential
3-31
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-17502-01
Chapter 3 Configuring General Router Features
Managing Configuration Sessions
In the preceding example, the show configuration command displays the target configuration, which
includes the failed configuration.
Note The failed configuration is discarded if you exit global configuration mode or administration
configuration mode without recovering the configuration. After recovery, correct and commit the
configuration or save it to a file to avoid losing it.
Exiting a Configuration Submode
When you have finished configuration changes in a configuration submode, such as the interface or RSP
configuration submodes, you can return to return to the previous configuration mode and continue
making configuration changes. To exit a configuration submode, type the exit command, as shown in the
following example:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface Gi 0/3/0/1
RP/0/RSP0/CPU0:router(config-if)# description this is my interface
RP/0/RSP0/CPU0:router(config-if)# ipv4 address 10.1.1.1 255.0.0.0
RP/0/RSP0/CPU0:router(config-if)# exit
RP/0/RSP0/CPU0:router(config)#
Note If you use the exit command to exit global configuration or administration configuration mode, the
router prompts you to save changes, discard changes, or cancel the action, as described in the next
section.
Returning Directly to Configuration Mode from a Submode
When you have finished configuration changes in a configuration submode, such as the interface or RSP
configuration submodes, you can skip all intermediate submodes and return to the top-level
configuration mode and continue making configuration changes. To return to configuration mode, type
the root command, as shown in the following example:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# router static
RP/0/RSP0/CPU0:router(config-static)# address-family ipv4 unicast
RP/0/RSP0/CPU0:router(config-static-afi)# root
RP/0/RSP0/CPU0:router(config)#
Ending a Configuration Session
You can use any of the following methods to end a configuration session:
Type the exit command in global configuration or administration configuration mode.
Type the end command in any configuration mode or submode
Press Ctrl-Z.
Note If you type the exit command in a configuration submode, the command returns you to the parent
configuration level.