Hi, everyone! Today I’m going to introduce how to clear configurations on Huawei switches.
If the configuration is incorrect, run the undo command to clear the configuration or enter a new value to overwrite the existing one.
But when you need to clear them in batches or in the entire system, these two rarely used methods can help you.
1.Clear the port configuration.
[HUAWEI] clear configuration interface gigabitethernet 0/0/1
Warning: All configurations of the interface will be cleared, and its state will be shutdown. Continue? [Y/N] :y... Info: Total execute 2 command(s), 2 successful, 0 failed.
Note:After the configuration of the port is cleared, the port is disabled. You can run the following command to enable the port again.
2.Clear all configurations of the switch.
<huawei>reset current configuration
Note:Before clearing the configuration, ensure that the current configuration is saved to the local
computer.
If you have any problems, please post them in our Community. We are happy to solve them for you!