Returning Directly To Configuration Mode From A Submode; Ending A Configuration Session; Aborting A Configuration Session - Cisco ASR 9000 Getting Started Manual

Services router
Hide thumbs Also See for ASR 9000:
Table of Contents

Advertisement

Chapter
Configuring General Router Features

Returning Directly to Configuration Mode from a Submode

When you have finished configuration changes in a configuration submode, such as the interface or
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, enter
the root command, as shown in the following example:
RP/0//CPU0:router# configure
RP/0//CPU0:router(config)# router static
RP/0//CPU0:router(config-static)# address-family ipv4 unicast
RP/0//CPU0:router(config-static-afi)# root
RP/0//CPU0:router(config)#

Ending a Configuration Session

You can use any of the following methods to end a configuration session:
If you enter the exit command in a configuration submode, the command returns you to the parent
Note
configuration level.
If you end a configuration session without committing the configuration changes, the router prompts you
to save changes, discard changes, or cancel the action, as shown in the following example:
RP/0//CPU0:router(config-if)# end
Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:
Respond to the prompt by entering one of the following options:
Note
In EXEC mode, the exit command logs the user out of the system.

Aborting a Configuration Session

When you abort a configuration session, any changes are discarded and the configuration session ends.
No warning is given before the configuration changes are deleted.
The abort command in global configuration mode, discards configuration changes and returns to EXEC
mode. In administration configuration mode, the abort command discards configuration changes and
returns to administration EXEC mode. To abort a configuration session, enter the abort command, as
shown in the following example:
RP/0//CPU0:router# configure
RP/0//CPU0:router(config)# hostname host1
RP/0//CPU0:router(config)# interface 0/2/0/2
OL-28417-02
Enter the exit command in global configuration or administration configuration mode
Enter the end command in any configuration mode or submode
Press Ctrl-Z
yes—Commit the configuration changes and exit configuration mode
no—Exit configuration mode without committing the configuration changes
cancel—Remain in configuration mode without committing the configuration changes
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
Managing Configuration Sessions
63

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents