![Huawei V100R006C00 Configuration Manual Download Page 11](http://html.mh-extra.com/html/huawei/v100r006c00/v100r006c00_configuration-manual_169533011.webp)
1.1 Overview
This section describes the functions, application scenarios, and terms of Auto-Config.
When a new switch or a switch without any configuration file is powered on, Auto-Config runs
automatically to obtain a configuration file. With the Auto-Config function, the network
administrator can manage new switches or switches without any configuration file remotely.
NOTE
The Auto-Config function is applicable to new switches or switches without any configuration file
(unconfigured switches).
The Auto-Config function has the following advantages:
l
The maintenance personnel do not need to manually configure each switch. With this
function, a few maintenance personnel can maintenance widely deployed devices.
l
Auto-Config simplifies the network configurations and implements unified management
and remote debugging on switches.
l
With Auto-Config allows switches to automatically download corresponding configuration
files, reducing the workload of network administrators.
Intermediate File
The intermediate file
lswnet.cfg
is used in the Auto-Config process. The intermediate file records
the mapping between MAC addresses of switches and names of configuration files. After an
unconfigured switch obtains the IP address of the FTP/TFTP server, it downloads the
lswnet.cfg
file from the FTP/TFTP server to search for the name of the required configuration
file, and then downloads the configuration file from the FTP/TFTP server.
NOTE
Auto-Config uses Option 67 to obtain the configuration file first. If Option 67 is not configured, Auto-
Config obtains the intermediate file.
For example, if the MAC address of an S5700 is 0018-82C5-AA89 and the S5700 needs to
download the configuration file S5700.cfg, the contents of the intermediate file are as follows:
mac=0018-82C5-
AA89;vrpfile=V100R006C00.cc;vrpver=V100R006C00;cfgfile=S5700.cfg;patchfile=S5700-
pat.pat;
esn=0213778899;vrpfile=V100R006C00.cc;vrpver=V100R006C00;cfgfile=S5700.
cfg;patchfile=S5700-pat.pat;
NOTE
If the configuration file is located on the FTP or TFTP server, its extension must be
.cfg
.
A MAC address and a configuration file name are separated by a semicolon. The format of a MAC address
is xxxx-xxxx-xxxx-xxxx. The name of a configuration file contains up to 48 characters, including the
extension
.cfg
. The name is case insensitive and cannot contain special characters. It is recommended that
the name consists of English letters, numbers, and underscore (_).
If multiple unconfigured switches need to be configured, each row in the intermediate file records the MAC
address of a switch and the name of the configuration file that the switch requires.
Option 67
The Option 67 field is configured on the DHCP server to specify the configuration file.
Quidway S5700 Series Ethernet Switches
Configuration Guide - Device Management
1 Auto-Config
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2