97
configuration back to the
configuration defined by a
configuration file.
The configuration rollback function might fail to reconfigure some commands in the running
configuration for one of the following reasons:
A command cannot be undone because prefixing the undo keyword to the command does not
result in a valid undo command. For example, if the undo form designed for the A [B] C
command is undo A C, the configuration rollback function cannot undo the A B C command.
This is because the system does not recognize the undo A B C command.
A command (for example, a hardware-dependent command) cannot be deleted, overwritten, or
undone due to system restrictions.
The commands in different views are dependent on each other.
Commands or command settings that the device does not support cannot be added to the
running configuration.
The rollback operation does not take effect on the IRF settings. The IRF settings in the current
running configuration continue to run after the rollback. For more information about IRF, see IRF
Configuration Guide.
Configuring configuration commit delay
This feature is available in Release 1121 and later.
This feature allows you to perform the following operations:
Use the configuration commit delay command to set the allowed delay time for a manual
commit to keep the settings configured after the command was executed.
Use the configuration commit command to commit the settings. If no manual commit is
performed within the allowed delay time, the device rolls back the configuration to the settings
before the configuration commit delay command was executed.
begins, the device outputs logs to notify the user of the rollback operation. The
user cannot perform other operations before the rollback is finished.
As a best practice, set the allowed delay time in the following situations:
The user configures the device remotely. The user might be disconnected from the device
because of a setting. If the configuration commit delay command is configured and the
setting is not committed, the user can reconnect to the device after the delay time expires.
The user is not familiar with the device configuration. If any parameters are configured
incorrectly, the rollback mechanism can remove the incorrect settings after the delay time
expires.
To configure the configuration commit delay feature:
1. Enter system view.
system-view
N/A
2.
Set the allowed delay time for a
manual commit to keep the
settings configured subsequently
configuration commit delay
delay-time
Configure this command in a
single-user environment.