E-DOC-CTC-20071119-0003 v1.0
45
3|
Firmware Upgrade and Configuration Update
BOARD_NAME=y
: this is the hardware platform mnemonic. The board name is checked for exact
match against the board name environment variable. The feature set and CLI commands may differ
between business and residential products.
Before starting sequential execution of all STS script CLI commands, this header line is checked. A file
without this header line is rejected as invalid STS file.
Examples
Example of a
configuration file
:
Example of an
STS file
(adding two web site filtering rules):
Locally testing STS files
Before starting a TR-069 configuration update with an STS file, you may test the STS file locally in order to
make sure all commands are properly formatted and run without problems.
After creating the STS file (test.sts), execute following steps:
1
Connect your PC via the LAN to the CPE.
2
Create the STS file in the PC directory
C:\Documents and Settings\<Username>\
3
Upload the STS file to the file system of the CPE. The file must be placed in the /dl directory.
For example, you can use an FTP session as follows:
1
Set up an FTP session from your PC to the CPE.
2
Go to the /dl directory with the command
cd /dl
.
3
Use the command
bin
.
4
Upload the STS file with the command
put test.sts
.
5
Close the FTP session with the command
bye
.
4
Set up a telnet session from your PC to the CPE and run the CLI command
:config load
echo=enabled filename=test.sts
.
5
The CPE executes one by one the CLI commands as specified in the STS file and prints the output of the
commands to the telnet prompt.
6
If any errors are reported, you can correct these errors.
[ xdsl.ini ]
debug traceconfig level=0
config adslmultimode=adsl2plus detect-lop=enabled syslog=disabled
[ cac.ini ]
config port=dsl0 state=enabled
config port=dsl1 state=enabled
...
TPVERSION=2.0.0 BOARD_NAME=BANT-K
:dsd urlfilter rule add url=www.yahoo.com action=redirect redirect=www.google.net
:dsd urlfilter rule add url=www.cisco.com action=block
...
:env set var=CONF_VERSION value=1.1.1
An STS file should always be closed with a \CR (Carriage Return). Otherwise the last line in the STS
file will not be executed.
Содержание TR-069
Страница 2: ......
Страница 3: ...Thomson Gateway TR 069 Configuration Guide R7 4 and higher ...
Страница 18: ...E DOC CTC 20071119 0003 v1 0 12 1 Introduction ...
Страница 36: ...E DOC CTC 20071119 0003 v1 0 30 2 Configuring CWMP on the Thomson Gateway ...
Страница 74: ...E DOC CTC 20071119 0003 v1 0 68 5 WAN Connections ...
Страница 106: ...E DOC CTC 20071119 0003 v1 0 100 6 Service Provisioning ...
Страница 109: ......