____________________________________________________________________________________
____________________________________________________________________________________
124
TAU-4M.IP Subscriber gateway
Configuration editing methods
I.
Using the vi editor.
1.
The list of options for the Internet interface is specified in the DHCPOptionList parameter of the
Internet => Network section.
2.
The list of options for the VoIP interface is specified in the DHCPOptionList parameter of the VoIP
=> Network section.
3.
The list of options for the Management interface is specified in the DHCPOptionList parameter of
the System => ManagementVLAN section.
After editing and saving in the vi editor, you must run the following commands:
reloadcfg
- apply the modified configuration to work, the result of the command should be
'Configuration accepted'
save
- save the changed configuration in non-volatile memory.
The ‘Save’ command can only be executed if the previous command is successful. If the result was
'Configuration not accepted' when executing the reloadcfg command, ‘Save’ execution is not
allowed.
II.
Using setconf command
This method is recommended. It also eliminates the necessity to execute the reloadcfg and save
commands.
getconf
(display current configuration) and
setconf
(set parameter value).
Example 1:
You need to get the DHCPOptionList value:
for Internet interface
getconf Internet.Network | grep DHCPOptionList
for VoIP interface
getconf Voip.Network | grep DHCPOptionList
for Management interface
getconf System.ManagementVLAN | grep DHCPOptionList
Example 2:
You need to assign some list of options:
for Internet interface
setconf Internet.Network DHCPOptionList "3,6,26,28,33,121,249,12"
for VoIP interface (assign the default list of options)
setconf Voip.Network DHCPOptionList ""
for Management interface
setconf System.ManagementVLAN DHCPOptionList "3,6,26,28,33,42,43,66,67,121,249"
III.
Using PC
The configuration is pre-downloading from the device to the PC (via the web interface), then with the help of
any text editor the values are changing and saving. The final step is to upload the changed configuration to the
device.