CX11x, CX31x, CX710 (Earlier Than V6.03) , and CX91x Series Switch Modules V100R001C10 Command Reference 17
This document provides the configuration commands of each feature supported by the CX11x&CX31x&CX91x series switches module, including the syntax, view, default level, description, parameters, usage guideline, related commands, and example of each command.
This document provides the configuration commands of each feature supported by the CX11x&CX31x&CX91x series switches module, including the syntax, view, default level, description, parameters, usage guideline, related commands, and example of each command.
display configuration commit changes
Function
The display configuration commit changes command displays the configuration change recorded at a configuration rollback point.
Format
display configuration commit changes [ at commit-id | since commit-id | last number-of-commits ]
Parameters
Parameter | Description | Value |
---|---|---|
at commit-id | Displays the configuration change at a specified configuration rollback point. | The value is an integer that the system generates automatically. Run the display configuration commit list command to check the configuration rollback points. |
since commit-id | Displays the configuration changes from the specified configuration rollback point to the current state. | The value is an integer that the system generates automatically. Run the display configuration commit list command to check the configuration rollback points. |
last number-of-commits | Displays the changes at the specified number of latest configuration rollback points. | The value is an integer that ranges from 1 to 80. |
Usage Guidelines
Usage Scenario
Run this command to check the configuration changes when you need to restore the system to a historical state because incorrect operations are performed on the device or some configurations fail due to some faults.
Prerequisites
Configuration has been performed and the configuration rollback point has been generated.
Follow-up Procedure
Recover or roll back the configuration after checking the configuration change.
Example
# Display the configuration change saved at the configuration rollback point numbered 1000002001.
<HUAWEI> display configuration commit changes at 1000002001
Building configuration
#
+ interface Vlanif89
+ ip address 192.168.89.1 255.255.255.0
#
# Display the configuration changes from the specified configuration rollback point to the latest rollback point.
<HUAWEI> display configuration commit changes since 1000001999
Building configuration
#
- vlan batch 10
#
+ vlan batch 10 89
#
+ interface Vlanif89
+ ip address 192.168.89.1 255.255.255.0
#
# Display the configuration changes at the latest three configuration rollback points.
<HUAWEI> display configuration commit changes last 3
Building configuration
#
- vlan batch 10
#
+ vlan batch 10 89
#
+ interface Vlanif89
+ ip address 192.168.89.1 255.255.255.0
#
# Display the configuration changes at all configuration rollback points in the current system.
<HUAWEI> display configuration commit changes
Building configuration
Commit changes of commitId 1000002001
#
+ interface Vlanif89
+ ip address 192.168.89.1 255.255.255.0
#
Commit changes of commitId 1000002000
Commit changes of commitId 1000001999
#
- vlan batch 10
#
+ vlan batch 10 89
#
Commit changes of commitId 1000001998
Commit changes of commitId 1000001997
Item |
Description |
---|---|
Commit changes of commitId |
Number of a configuration rollback point, which uniquely identifies the rollback point. Run the display configuration commit list command to check the configuration rollback points. |
- |
Deleted configuration. For the modified configuration, - indicates the old configuration and + indicates the new configuration. |
+ |
Added configuration. For the modified configuration, - indicates the old configuration and + indicates the new configuration. |