
139
# Commit the settings configured after the
configuration commit delay
command was executed.
[Sysname] configuration commit
# Commit the settings configured after the
configuration commit delay
command was executed. In
this example, the commit operation fails, because the allowed delay time has expired. The device is
rolling back the configuration to the settings before the
configuration commit delay
command was
executed.
[Sysname] configuration commit
The system is rolling back configuration. Please wait…
configuration commit delay
Use
configuration commit delay
to set the allowed delay time for a manual commit to keep the
settings configured subsequently in effect.
Syntax
configuration commit delay
delay-time
Views
System view
Predefined user roles
network-admin
Parameters
delay-time
: Sets the allowed delay time in the range of 1 to 65535 minutes.
Usage guidelines
Configure this command in a single-user environment.
If you do not execute the
configuration commit
command within the delay time, the device rolls
back the configuration to the settings before the
configuration commit delay
command was
executed. 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.
You can change the allowed delay time before the previous configured delay time expires. The new
delay time configuration overwrites the previous delay time configuration after you enter
Y
to confirm
the change. The allowed delay time is re-set.
Examples
# Set the allowed delay time to 10 minutes for a manual commit to keep the settings configured
subsequently in effect.
<Sysname> system-view
[Sysname] configuration commit delay 10
# Re-set the allowed delay time to 60 minutes for a manual commit to keep the settings configured
subsequently in effect.
[Sysname] configuration commit delay 60
The commit delay already set 10 minutes, overwrite it? [Y/N]:y