Cisco ASR 14000 Series Management Command Reference page 103

Router system
Hide thumbs Also See for ASR 14000 Series:
Table of Contents

Advertisement

Configuration Management Commands on Cisco IOS XR Software
clear (global)
To discard changes to the target configuration that have not yet been committed without exiting the
configuration session, use the clear command in administration configuration or in global configuration
mode.
Syntax Description
feature
Defaults
No default behavior or values
Command Modes
Administration configuration
Global configuration
Command History
Release
Release 3.7.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Use the clear command in administration configuration mode or global configuration mode to discard
changes to a target configuration session without exiting from global configuration mode.
The clear command can also be used in administration EXEC mode or EXEC mode to reset the contents
Tip
of a feature. See the
Task ID
This command requires the task ID for the feature or configuration submode impacted by the command.
Examples
The following example shows how to discard uncommitted changes to the target configuration without
exiting the configuration session. In the following example, an IPv4 address is configured on
Packet-over-SONET/SDH (POS) interface 0/2/0/0. The show configuration command displays the
uncommitted changes to the target configuration. The clear command discards the uncommitted
changes. The show configuration verifies that the changes made to the target configuration were
discarded.
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface pos 0/2/0/0
RP/0/RP0/CPU0:router(config-if)# ipv4 address 1.1.1.1 255.0.0.0
RP/0/RP0/CPU0:router(config-if)# exit
RP/0/RP0/CPU0:router(config)# show configuration
Building configuration...
OL-17231-01
clear [feature]
(Optional) System feature or functionality to reset.
Modification
This command was introduced on the Cisco ASR 14000 Series Router.
clear (EXEC)
command.
Cisco ASR 14000 Series Router System Management Command Reference
clear (global)
SMR-101

Advertisement

Table of Contents
loading

Table of Contents