How to enable or disable the Auto-Config function on an AR

59

When you log in to a new device (without the startup configuration file) through the console interface, the following information is displayed: "Auto-Config is working. Before configuring the device, stop Auto-Config. If you perform configurations when Auto-Config is running, the DHCP, routing, DNS, and VTY configurations will be lost. Do you want to stop Auto-Config?[y/n]:"
To keep Auto-Config enabled, enter n.
To disable Auto-Config, enter y.

Other related questions:
Why is the DHCP configuration lost on an AR after a while
If Auto-Config is enabled, the AR will periodically clear all DHCP configurations, causing DHCP configuration loss. To solve the problem, perform the following steps: 1. Run the undo autoconfig enable command on the AR to disable Auto-Config. 2. Wait for 4 or 5 minutes and run the display autoconfig-status command to check the Auto-Config status. If the value of Running is NO, the Auto-Config function has been disabled. 3. Perform the configuration and run the save command.

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.

What is the function of inherit-config
You can run the stack member member-id renumber new-member-id [ inherit-config ] command to change the stack member ID.
- If the inherit-config parameter is specified, the switch inherits the original stack configuration after it restarts, including the stack priority, stack domain ID, connection mode, and physical member port configuration. The common service port configuration, such as the port split configuration, will be lost, but the split configuration of physical member ports will be inherited.
- If the inherit-config parameter is not specified, the current stack configuration and common service port configuration are lost after the switch restarts. The configuration related to the new stack member ID in the configuration file takes effect.
- If the configuration file contains offline configuration for the new stack member ID, do not specify inherit-config in the command.

Enabling or disabling the Telnet or SSH function on the USG6000
Enable or disable the Telnet or SSH function on the USG6000 as follows: 1. Run the following commands in the CLI to enable or disable the Telnet or SSH function: sy [USG6600-1]aaa [USG6600-1-aaa]manager-user admin [USG6600-1-aaa-manager-user-admin]service-type ? ftp FTP user ssh SSH user telnet Telnet user terminal Terminal user web Web authentication user [USG6600-1-aaa-manager-user-admin]service-type ft [USG6600-1-aaa-manager-user-admin]service-type ftp ssh te [USG6600-1-aaa-manager-user-admin]service-type ftp ssh terminal After you run the preceding commands, the admin account has only the ftp ssh terminal permission but not the telnet web permission.

How to disable the web function on an AR router
How to disable the web function on an AR router? For routers that support web NMS, disable the HTTP server on the routers to disable the web function. Specific method is as follows: [Huawei] undo http server enable //Disable the HTTP service. [Huawei] undo http secure-server enable //Disable the HTTPS service.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top