181
file. If no common configuration file is found when a TFTP file server is used, the device obtains and
uses the default configuration file.
Script files
Script files can be used for automatic software upgrade and automatic configuration. The device
supports Python scripts (.py files) and Tcl scripts (.tcl files). For more information about Python and
Tcl scripts, see "
To prepare script files:
•
For devices that share all or some configurations, create a script file that contains the common
configurations.
•
For the other devices, create a separate script file for each of them.
Configuring the DHCP server
The DHCP server assigns the following items to devices that need to be automatically configured:
•
IP addresses.
•
Paths of the configuration files or scripts.
Configuration guidelines
When you configure the DHCP server, follow these guidelines:
•
For devices for which you have prepared different configuration files, perform the following
tasks for each of the devices on the DHCP server:
Create a DHCP address pool.
Configure a static address binding.
Specify a configuration file or script file.
Because an address pool can use only one configuration file, you can specify only one static
address binding for an address pool.
•
For devices for which you have prepared the same configuration file, use either of the following
methods:
Method 1:
−
Create a DHCP address pool for the devices.
−
Configure a static address binding for each of the devices in the address pool.
−
Specify the configuration file for the devices.
Method 2:
−
Create a DHCP address pool for the devices.
−
Specify the subnet for dynamic allocation.
−
Specify the TFTP server.
−
Specify the configuration file for the devices.
•
If all devices on a subnet share the same configuration file or script file, perform the following
tasks on the DHCP server:
Configure dynamic address allocation.
Specify the configuration file or script file for the devices.
The configuration file can contain only the common settings for the devices. You can provide a
method for the device administrators to change the configurations after their devices start up.
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...