abort
To terminate a configuration session and discard all uncommitted changes without system confirmations, use the abort command in any configuration mode.
abort
Syntax Description
This command has no keywords or arguments.
Command Default
None
Command Modes
Any configuration mode
Command History
Release |
Modification |
---|---|
Release 5.0.0 |
This command was introduced. |
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Use the abort command to terminate a configuration session and return to EXEC mode from any configuration mode. This command discards all uncommitted configuration changes. You are prompted to commit the changes.
Task ID
Task ID |
Operations |
---|---|
Task ID for the feature or mode impacted by the command |
Operation for the feature or mode impacted by the command |
Examples
The following example shows how to use the abort command to discard all changes made during a configuration session:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tengige 0/1/1/1
RP/0/RP0/CPU0:router(config-if)# ipv4 address 10.0.0.1 255.0.0.0
RP/0/RP0/CPU0:router(config-if)# abort
RP/0/RP0/CPU0:router#