DKT Comega forsete-ii series Скачать руководство пользователя страница 5

5

3) CPE requests in its LINUX Boot-up process, where configuration file is requested:
Option: 1, 3, 6, 12, 43, 54, 66, 67  - Please make sure that DHCP Server responds to these option re

-

quests, as it will influence on the booting sequence, if these are not correctly answered, and may cause 

inproper booting of the device.

custom configuration 

When the OS issue a dhcp request a filename of a configuration file can be sent to the device. This 
configuration file is then downloaded by tftp during the boot process and issued instead of the default 
configuration. In this way it is possible to persist settings for each customer (by mapping the hardware 
address of the node and the customer number). 

The server and the filename of the configuration file should be sent in respective tftp-server-name (op

-

tion 66) and bootfile-name (option 67) from the dhcp server. Notice these options are different from the 
bootfile/bootserver used in the bootp response. 

If it is not feasible that the dhcp server distinguish the customer’s configurations base on the hardware 
address an alternative method can be used. The dhcp server sends out the name of a generic configura

-

tion. This configuration can then include instruction to the node of fetching a node specific configure by 
tftp where the requested filename is a combination of the node hardware address. 
In the generic configuration script, which is common for all devices and that will provisioned during boot 

up, the following instructions can be inserted:

source /etc/dhcp.vars

export WAN_MACADDR=$(ip addr show dev eth0 | grep “ether” | cut -d “ “ -f6 | tr -d :)

tftp -g -r my_conf_$WAN_MACADDR -l /tmp/config.sh $TFTP_SERVER

save_configuration

source /tmp/config.sh

Alternatively, if DHCP offer in the response instead just end with ”/” instead of specific file-name then the device 

will try to make TFTP Request for: 

<CFG_DIR>dkt_config_<MAC>.sh 

<CFG_DIR>dkt_config_<Hostname>.sh 

<CFG_DIR>dkt_config_<Model>.sh <CFG_DIR>dkt_config.sh

Содержание forsete-ii series

Страница 1: ...juma forsete ii series user guide...

Страница 2: ...atures supported from firmware revision 05_02 Syntaxes for the individual features are listed in this document please notice if the functionality is not implemented in the revision of the firmware yet...

Страница 3: ...emote upgrade the firmware If a bootfile and a bootserver is given in the bootp response then the file is downloaded via tftp and executed by the device The device is configured to not pass any traffi...

Страница 4: ...rver connected to the fiber WAN port before power on Please refer to Appendix 3 DHCP Settings for example of DHCP settings 1 The device requests in its Uboot DHCP discoverer Option 1 3 2 DHCP Server o...

Страница 5: ...s are different from the bootfile bootserver used in the bootp response If it is not feasible that the dhcp server distinguish the customer s configurations base on the hardware address an alternative...

Страница 6: ...0 tag member 4 conf vlan set vlan table vid 100 untag member 0 conf vlan set vlan table vid 200 untag member 1 conf vlan set vlan table vid 300 untag member 2 conf vlan set vlan table vid 400 untag me...

Страница 7: ...in the unit The command takes one or more of the following parameters with the syntax switch nn or conf xx The 79741 742 models have 4 LAN ports whereas 79734 model has 1 LAN port The port outline an...

Страница 8: ...eep its restored configuration until next boot process The following command allows the configuration to be saved to flash memory and this will be restore if dhcp service is out save_configuration dhc...

Страница 9: ...9...

Страница 10: ...tion in the configuration file Save configuration to flash memory same SSH key is used at every boot save_configuration Now it is possible to log into the CPE as the user Administrator case sensitive...

Страница 11: ...ver typing tftp p l shadow r shadow TFTP Server IP Address This file has to be pushed to all CPE s 6 you can edit CPE s configuration files by inserting the following commands tftp g r shadow l tmp sh...

Страница 12: ...IP The syslog daemon sends logging information in UDP packets port 514 If all IP addresses are handled by the DHCP server then there is also a way that the syslog daemon may be started by the DHCP cli...

Отзывы: