No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Troubleshooting Guide

CloudEngine 16800, 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
What Is Configuration Rollback?

What Is Configuration Rollback?

If faults are caused by an incorrect configuration or an unexpected configuration result occurs on the network after the configuration is committed, you can roll back to the original configuration.

Configuration rollback is similar to the system restore function of the Windows operating system. A configuration rollback point is generated each time the commit command is executed. You can run the rollback configuration last number-of-commits command in the user view to roll back the current configuration to a previous configuration rollback point. number-of-commits specifies the configuration rollback point.

For example, run the following commands to create VLANIF 2 and configure an IP address for VLANIF 2.
<HUAWEI> system-view
[~HUAWEI] vlan batch 2
[*HUAWEI] interface vlanif 2
[*HUAWEI-Vlanif2] ip address 192.168.0.1 255.255.255.0
[*HUAWEI-Vlanif2] commit
[~HUAWEI-Vlanif2] quit
[~HUAWEI] quit
Run the rollback configuration last 1 command in the user view to roll back the configuration to the previous configuration rollback point.
<HUAWEI> rollback configuration last 1
Warning: This operation will revert configuration changes to the previous status. Continue? [Y/N]: y
Run the display configuration commit changes last 1 command in any view to check the configuration changes at configuration rollback point 1.
<HUAWEI> display configuration commit changes last 1
Building configuration
  #                                                                             
- vlan batch 2                                                                  
  #                                                                             
- interface Vlanif2                                                             
-  ip address 192.168.0.1 255.255.255.0                                         
  #                                                                

The command output provided here is used for reference only. The output information on your device may differ from that provided in this example.

Translation
Download
Updated: 2020-01-07

Document ID: EDOC1000060766

Views: 610183

Downloads: 2956

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next