clear configuration inconsistency
To clear an inconsistency alarm for a router configuration or admin plane configuration, use the clear configuration inconsistency command in Admin EXEC mode or EXEC mode.
clear configuration inconsistency
Syntax Description
This command has no keywords or arguments.
Command Default
Administration EXEC mode: Clears the inconsistency alarms for the admin plane configuration.
EXEC mode: Clears the inconsistency alarms for an SDR configuration.
Command Modes
Admin EXEC mode
EXEC mode
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.
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 switch processor (RSP) card is inserted or removed.
If an inconsistency alarm is set, a message similar to the following example is displayed:
RP/0/0/CPU0:May 26 11:58:40.662 : cfgmgr-rp[130]: %MGBL-CONFIGCLI-3
BATCH_CONFIG_FAIL : 28 config(s) failed during startup. To view
failed config(s) use the command - "show configuration failed startup"
RP/0/0/CPU0:May 26 11:58:41.731 : cfgmgr-rp[130]:
%MGBL-CONFIG-3-ADMIN_INCONSISTENCY_ALARM : Admin plane configuration
inconsistency alarm has been raised. Configuration commits will be
blocked until an ADMIN plane 'clear configuration inconsistency' command
has been run to synchronize persisted admin plane configuration with
running admin configuration.
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.
For example, the following configuration commit fails to finish due to an existing inconsistency alarm:
RP/0/RSP0/CPU0:router# configure
ADMIN plane running configuration is inconsistent with persistent
configuration.
No configuration commits will be allowed until an admin plane
'clear configuration inconsistency' command is performed.
RP/0/RSP0/CPU0:router(config)# hostname router2
RP/0/RSP0/CPU0:router(config)#commit
ADMIN plane running configuration is inconsistent with persistent
configuration.
No configuration commits will be allowed until an admin plane
'clear configuration inconsistency' command is performed.
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 admin plane configuration, enter the clear configuration inconsistency command in administration EXEC mode.
To clear the inconsistency alarms for the router, enter the clear configuration inconsistency command in EXEC mode.
Task ID
Task ID |
Operations |
---|---|
config-services |
execute |
Examples
The following example shows how to clear the inconsistency alarms for the admin plane configuration by entering the clear configuration inconsistency command in administration EXEC mode:
RP/0/RSP0/CPU0:router# admin
RP/0/RSP0/CPU0:router(admin)# clear configuration inconsistency
Creating any missing directories in Configuration File system...OK
Initializing Configuration Version Manager...OK
Syncing ADMIN commit database with running configuration...OK
Re-initializing cache files...OK
Updating Commit Database. Please wait...[OK]
The following example shows how to clear the inconsistency alarms for a router configuration. The command is entered in EXEC mode.
RP/0/RSP0/CPU0: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
Re-initializing cache files...OK
Updating Commit Database. Please wait...[OK]
In the following example, a history of the inconsistency alarms set and cleared for the router configuration are displayed using the show configuration history command with the alarm keyword:
RP/0/RSP0/CPU0: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