clear configuration inconsistency
To clear an inconsistency alarm for a router configuration, use the clear configuration inconsistency command in XR EXEC mode.
clear configuration inconsistency
Syntax Description
This command has no keywords or arguments.
Command Default
EXEC mode: Clears the inconsistency alarms for an SDR configuration.
Command Modes
XR EXEC mode
Command History
Release |
Modification |
---|---|
Release 3.0.0 |
This command was introduced. |
Usage Guidelines
An inconsistency alarm is set when there is a failure to restore the configuration; this can occur during router startup, or when a line card or route processor (RP) card is inserted or when there is an OIR (Online Insertion and Removal).
When the inconsistency alarm is set, all configuration commit operations fail until the alarm is cleared using the clear configuration inconsistency command. This command clears the alarm and removes the failed configuration.
Enter the clear configuration inconsistency command to clear the alarm and allow commit operations to continue.
Note |
To reapply the failed configuration, you must reapply and recommit the configuration. Use the load configuration failed command with the startup keyword to populate the target configuration with the contents of the previous failed configuration from the startup configuration. |
Use the show configuration history command with the alarm keyword to view the inconsistency alarm set and alarm clear events in the configuration history log.
Command Modes
To clear the inconsistency alarms for the router, enter the clear configuration inconsistency command in XR EXEC mode.
Task ID
Task ID |
Operations |
---|---|
config-services |
execute |
Examples
The following example shows how to clear the inconsistency alarms for a router configuration. The command is entered in EXEC mode.
Router# clear configuration inconsistency
Creating any missing directories in Configuration File system...OK
Initializing Configuration Version Manager...OK
Syncing commit database with running configuration...OK
In the following example, a history of the inconsistency alarms set and cleared for the configuration are displayed using the show configuration history command with the alarm keyword:
Router# show configuration history alarm
Sno. Event Info Time Stamp
~~~~ ~~~~~ ~~~~ ~~~~~~~~~~
1 alarm inconsistency alarm raised Thu Jun 22 15:23:15 2009
2 alarm inconsistency alarm cleared Thu Jun 22 15:42:30 2009
3 alarm inconsistency alarm raised Sun Jul 9 13:39:57 2009
4 alarm inconsistency alarm cleared Sun Jul 9 14:15:48 2009
5 alarm inconsistency alarm raised Sat Jul 15 18:18:26 2009
6 alarm inconsistency alarm cleared Sat Jul 15 19:21:03 2009