The display configuration recover-result command displays the configuration recovery result.
Usage Scenario
You can use the display configuration recover-result command to view the information about the configuration recovery result and records of configuration recovery failures. The records include the command that fails the configuration recovery, the view in which the command resides, the line number of the command in the current startup configuration file, the reason why the command fails, and the execution time of the configuration recovery.
This command displays a maximum of 256 records in time sequence. The latest record is displayed in the last. If the number of commands for configuration recovery exceeds 256, the device no longer records commands that fail the configuration recovery.
Prerequisites
The device has restarted and the configuration recovery is successful.
# Display the configuration result.
<HUAWEI> display configuration recover-result The current startup saved-configuration file is flash:/vrpcfg.zip. The number of failed commands is 2. ---------------------------------------------------------------------- Command : ip address 10.85.1.1 255.255.255.0 View : Vlanif85 Line : 414 Reason : Failed to parse the command. Time : 10:00:06 2012-07-25 UTC+08:00 DST Command : ip address 10.86.1.1 255.255.255.0 View : Vlanif86 Line : 417 Reason : Failed to parse the command. Time : 10:00:06 2012-07-25 UTC+08:00 DST ----------------------------------------------------------------------
Item |
Description |
---|---|
Command |
Command that fails the configuration recovery |
View |
View in which the command resides |
Line |
Line number of the command in the current startup configuration file |
Reason |
Reason why the command fails |
Time |
Execution time of the configuration recovery |