Prerequisites
The configurations of the DHCP server and FTP/TFTP server are complete.
Procedure
Step 1 Five minutes after routers are powered on, check address allocation on the DHCP server to check
whether the routers are connected to the DHCP server.
NOTE
If the routers are connected to the DHCP server, log in to the routers using Telnet but do not configure the
routers.
Step 2 Five minutes after the routers obtain IP addresses, check the log about file downloading from
the FTP/TFTP server, or log in to the routers to check whether correct version files, patch files,
and configuration files have been downloaded and check the running status of Auto-Config by
using the display autoconfig-status command.
NOTE
Do not save a configuration file to a router to be configured immediately after the configuration file is
downloaded; otherwise, only a temporary configuration file is saved because the configurations have not
taken effect.
Step 3 After correct files are downloaded to the routers, the routers are restarted according to the setting
of Option 146. You can run the display autoconfig activating-config { delay | remanent-
time } command to check whether the configuration takes effect.
----End
6.4 Configuration Examples
This section provides examples for configuring Auto-Config, including networking
requirements, configuration notes, and configuration roadmap.
6.4.1 Example for Configuring the Auto-Config Function
This section describes how to configure Auto-Config so that users can automatically load the
configuration file, version file, and patch file.
Networking Requirements
When a new router or a non-configured router accesses the network, the configuration file,
version file, and patch file are required to be configured. To reduce the maintenance cost, the
router uses the Auto-Config function to automatically load the configuration file, version file,
and patch file. The router then can be managed remotely.
As shown in Figure 6-3, the AR150/200 connects to the DHCP server through Eth0/0/8 and
supports the Auto-Config function. The AR150/200 can automatically load the configuration
file, version file, and patch file stored on the FTP server after the FTP server and DHCP server
are configured.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Device Management 6 Auto-Config
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
107