abort (RPL)
To discard a route policy or set definition and return to global configuration mode, use the abort command in the appropriate configuration mode.
abort
Syntax Description
This command has no keywords or arguments.
This command has no arguments or keywords.
Command Default
No default behavior or values
Command Modes
Route-policy configuration
Prefix set configuration
Route distinguisher set configuration
AS path set configuration
Community set configuration
Extended community set configuration
Command History
Release |
Modification |
---|---|
Release 3.7.2 |
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.
Task ID
Task ID |
Operations |
---|---|
route-policy |
read, write |
Examples
The following example shows how to discard a route policy definition that was started and return to global configuration mode:
RP/0/RSP0/CPU0:router(config)# route-policy policy_1
RP/0/RSP0/CPU0:router(config-rpl)# if as-path is-local then
RP/0/RSP0/CPU0:router(config-rpl-if)# abort
RP/0/RSP0/CPU0:router(config)#
The following example shows how to discard a prefix set definition that was started and return to global configuration mode:
RP/0/RSP0/CPU0:router(config)# prefix-set legal-ipv4-prefix-examples
RP/0/RSP0/CPU0:router(config-pfx)# 10.0.1.1,
RP/0/RSP0/CPU0:router(config-pfx)# 10.0.2.0/24,
RP/0/RSP0/CPU0:router(config-pfx)# abort
RP/0/RSP0/CPU0:router(config)#