Why the auto-config function does not take effect

V100R005
It takes an unconfigured switch 5 minutes to download a configuration file from the FTP or TFTP server after it starts. You can specify the configuration file for a switch by configuring either of the following:
Option 67
Intermediate file
If the configuration file is specified by Option 67, the configuration file will take effect a few minutes later. The time depends on the size of the configuration file. If the configuration file is specified in the intermediate file, the configuration file will take effect two hours later. Therefore, if you check the configuration immediately after the switch starts, no configuration is displayed.
V100R006-V200R002
In V100R006 and later versions, the auto-config function is enhanced. You can set the delaytime parameter in DHCP Option 146 to specify the delay after which the configuration file takes effect. The delay ranges from 0 to 86400 seconds. For example, if the delay is set to 7200 seconds, the configuration file takes effect 7200 seconds after it is downloaded.

Run the display autoconfig-status command to view the current status of the auto-config process and how long will the configuration file take effect.
display autoconfig-status
Autoconfig is enabled.
The current status of autoconfig is finish
The status of DHCP phase:
Operation result : --
The status of getting system files phase:
The mode of getting files: --
Operation result : --
Error reason : --
Vrp File Name : --
Operation result : --
Error reason : --
Pat File Name : --
Operation result : --
Error reason : --
Web File Name : --
Operation result : --
Error reason : --
The status of getting configuration phase:
Cfg File Name : --
Operation result : --
Error reason : --
The status of activating configuration phase:
Remained time(s) : --
Operation result : --
During the delay, you can run the autoconfig activating-config delay command to change the delaytime value. The autoconfig activating-config delay 0 command makes the configuration file effective immediately.

By default, the configuration file takes effect immediately after it is downloaded.

Scroll to top