How Can I Prevent the Auto-Config Function from Periodically Clearing DHCP-related Configurations on the Device?
When a device with empty configuration starts, the auto-config function allows the device to automatically obtain the configuration file and restart for the configuration to take effect. The device enabled with the auto-config function periodically clears all DHCP-related configurations on the device.
To solve this problem, proceed as follows:
- Run the undo autoconfig enable command to disable the auto-config function.
- Wait 4 to 5 minutes and run the display autoconfig-status command to check the auto-config status. If the Running status is NO, the auto-config function has been disabled.
- Reconfigure the device as required by the customer and save the configuration.
The DHCP function is optimized in V200R008C00 and later versions, so this problem will not occur.