The display configuration commit list command displays the list of configuration rollback points.
Parameter | Description | Value |
---|---|---|
number-of-commits |
Specifies the number of configuration rollback points to be displayed in the list of configuration rollback points. |
The value is an integer ranging from 1 to 100 and cannot exceed the total number of generated configuration rollback points on the device. |
verbose |
Displays detailed information about the configuration rollback point list, including remarks. |
- |
label |
Displays label of the configuration rollback point list. |
- |
Usage Scenario
After the system configuration is complete, you can run the display configuration commit list command to check the configuration rollback point list.
The system displays configuration rollback points in reverse chronological order. The latest rollback point is displayed on the top.
Follow-up Procedure
Identify the labels of rollback points in the list of rollback points so that you can perform future configuration rollbacks according to these labels.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] sysname ROLLBACK [*HUAWEI] commit description This is a test [*ROLLBACK] display configuration commit list verbose 1) CommitId: 1000000114 Label: - User: root User-Intf: VTY 1 Type: CLI TimeStamp: 2012-07-03 20:20:40 Description: This is a test 2) CommitId: 1000000113 Label: - User: root User-Intf: VTY 0 Type: CLI TimeStamp: 2012-06-30 15:17:09 Description: 3) CommitId: 1000000112 Label: - User: SNMP_User User-Intf: Type: SNMP TimeStamp: 2012-06-30 15:16:56 Description:
Item | Description |
---|---|
CommitId | ID of the configuration rollback point. |
Label | Label of the configuration rollback point, which uniquely identifies the configuration rollback point. |
User | User name. |
TimeStamp | Timestamp of the configuration rollback point. |
Description | Remarks about a configuration rollback point. You can run the commit label <labelstring> [ description <descriptionstring> ] command to add description for a configuration roll back point. |
User-Intf | Path type, such as CON1 and VTY1. |
Type | Terminal type, for example, CLI, SNMP, NETCONF, ROLLBACK, RESTORE, or SYSTEM.
|