- Table of Contents
-
- 01-Fundamentals Configuration Guide
- 00-Preface
- 01-CLI configuration
- 02-RBAC configuration
- 03-Login management configuration
- 04-FTP and TFTP configuration
- 05-File system management configuration
- 06-Configuration file management configuration
- 07-Software upgrade configuration
- 08-ISSU configuration
- 09-Automatic configuration
- 10-Device management configuration
- 11-Tcl configuration
- 12-Python configuration
- 13-License management
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Automatic configuration | 61.91 KB |
Contents
Restrictions: Hardware compatibility with automatic configuration
Restrictions and guidelines for automatic configuration
Using USB-based automatic configuration
About USB-based automatic configuration
Preparing the USB disk for automatic configuration
Configuring and using USB-based automatic configuration
Using automatic configuration
About automatic configuration
With the automatic configuration feature, the device can automatically obtain a set of configuration settings at startup. You only need to save the configuration file on a specific storage medium. This feature simplifies network configuration and maintenance.
The device supports only USB-based automatic configuration. USB-based automatic configuration applies to the following scenarios:
· Small networks where the devices reside near to each other and no host can be used as a file server.
· Large networks where only a few devices require automatic configuration or configuration update.
Restrictions: Hardware compatibility with automatic configuration
Hardware |
Automatic configuration compatibility |
F5010, F5020, F5020-GM, F5030, F5030-6GW, F5040, F5060, F5080, F5000-AI-20, F5000-AI-40, F5000-V30, F5000-C, F5000-S, F5000-M, F5000-A |
No |
F1000-AI-20, F1000-AI-30, F1000-AI-50 |
Yes |
F1000-AI-60, F1000-AI-70, F1000-AI-80, F1000-AI-90 |
No |
F1003-L, F1005-L, F1010-L |
Yes |
F1005, F1010 |
Yes |
F1020, F1020-GM, F1030, F1030-GM, F1050, F1060, F1070, F1070-GM, F1080, F1000-V70, F1070-GM-L |
Yes |
F1090 |
No |
F1000-AK1110, F1000-AK1120, F1000-AK1130, F1000-AK1140 |
Yes |
F1000-AK1212, F1000-AK1222, F1000-AK1232, F1000-AK1312, F1000-AK1322, F1000-AK1332 |
Yes |
F1000-AK1414, F1000-AK1424, F1000-AK1434, F1000-AK1514, F1000-AK1524, F1000-AK1534, F1000-AK1614 |
No |
F1000-AK108, F1000-AK109, F1000-AK110, F1000-AK115, F1000-AK120, F1000-AK125, F1000-AK710 |
Yes |
F1000-AK130, F1000-AK135, F1000-AK140, F1000-AK145, F1000-AK150, F1000-AK155, F1000-AK160, F1000-AK165, F1000-AK170, F1000-AK175, F1000-AK180, F1000-AK185, F1000-GM-AK370, F1000-GM-AK380, F1000-AK711 |
Yes |
LSU3FWCEA0, LSUM1FWCEAB0, LSX1FWCEA1 |
No |
LSXM1FWDF1, LSUM1FWDEC0, IM-NGFWX-IV, LSQM1FWDSC0, LSWM1FWD0, LSPM6FWD, LSQM2FWDSC0 |
No |
vFW1000, vFW2000 |
No |
Restrictions and guidelines for automatic configuration
USB disk-based automatic configuration supports configuring the default context but does not support configuring non-default contexts.
The device performs USB disk-based automatic configuration at startup only if it does not have a configuration file.
Using USB-based automatic configuration
About USB-based automatic configuration
USB-based automatic configuration enables the device to obtain a configuration file from a connected USB disk at startup.
After obtaining a configuration file, the device compares the file with its main startup configuration file. If the two files have the same settings, the device loads its main startup configuration file. If the two files have different settings, the device performs the following operations:
1. Identifies whether its main startup configuration file is using the same name as the obtained configuration file.
¡ If yes, the device renames its main startup configuration file by adding _bak to the base name of the file, and copies the obtained configuration file.
¡ If not, the system uses the obtained configuration file to overwrite its main startup configuration file.
2. Loads the obtained configuration file.
¡ If all commands in the obtained configuration file are successfully loaded, the device sets the obtained configuration file as the main startup configuration file.
¡ If a command in the obtained configuration file fails, the device removes all loaded settings
and searches for a local configuration file.
- If a configuration file is found, the device loads the configuration file.
- If no configuration file is found, the device finishes the automatic configuration process without loading any configurations.
Preparing the USB disk for automatic configuration
1. Prepare a USB disk that has only one partition.
2. Display the serial number of the device.
display device manuinfo
For more information about this command, see Fundamentals Command Reference.
3. Create a configuration file named Device serial number.cfg or autodeploy.cfg, and save the file to the root directory of the file system on the USB disk.
If a configuration file named Device serial number.cfg coexists with configuration file autodeploy.cfg, configuration file Device serial number.cfg is used.
Configuring and using USB-based automatic configuration
1. Enable USB-based automatic configuration on the device:
a. Enter system view.
system-view
b. Enable USB-based automatic configuration.
autodeploy udisk enable
By default, USB-based automatic configuration is enabled.
c. Save the running configuration.
save
A device reboot is required for USB-based automatic configuration. Save the running configuration to ensure that the USB-based automatic configuration feature takes effect after a reboot.
2. If the IRF fabric has two or more member devices, shut down the IRF physical interfaces by using the shutdown command to split the IRF fabric.
3. Connect the USB disk to the USB1 interface on the master device of the original IRF fabric.
The USB disk will be identified as usba0.
4. Connect the USB disk to the USB1 interface on the device.
The USB disk will be identified as usba0.
5. Reboot the device and observe the LEDs of the device.
If the device finds no configuration files to load at startup, it performs the following operations:
a. Copies the configuration file on the USB disk.
b. Specifies the file as the startup configuration file.
c. Reboots to load the configuration file.
¡ If the SYS LED flashes green quickly for 5 seconds, the automatic configuration succeeded. Proceed to step 5.
¡ If the SYS LED flashes yellow quickly for 10 seconds, the automatic configuration failed. Display the log file named Fully qualified configuration file name.log in the USB disk root directory to locate and resolve the problem.
For more information about the LEDs, see the installation guide.
6. If the automatic configuration succeeded, use the display current-configuration command to verify that the configuration file has been loaded correctly.
7. Remove the USB disk to make sure the device does not start USB-based automatic configuration at the next reboot.
8. Rebuild the IRF fabric.
The subordinate members automatically synchronize their configurations with the master at startup.