Page 111 / 998 Scroll up to view Page 106 - 110
ZTC Client
ZTC
1-79
iMG/RG Software Reference Manual (System Configuration)
The ZTC Client contacts the ZTC Server, passing in the parameters list the Residential gateway MAC address,
the application filename and the hash key derived from the current running configuration. This information
defines the actual state of the device.
The ZTC Server checks whether there is a configuration for the gateway looking for the device MAC address
into the LDAP server, and if necessary, it returns the configuration file to the device.
When the device receives the new configuration, it reboots in order to execute the new configuration starting
from a "well known" status: the bootstrap configuration.
Since the gateway never stores the configuration downloaded from ZTC Server, the ZTC Client contacts again
the ZTC Server and execute exactly the same procedure defined in the
Pull-at-startup
phase.
Page 112 / 998
ZTC
ZTC Client
iMG/RG Software Reference Manual (System Configuration)
1-80
FIGURE 1-12
Scheduled-pull
ZTC phase
Residential Gateway
LDAP Database
ZTC Server
ZTC Idle
ZTC Idle
Start ZTC
Client
Start ZTC
Client
Start ZTC
Timeout
Run New
Configuration
Compare Client Config
with LDAP Config
ZTC Timeout
Expires
Is it the
same?
Yes
No
Abort TFTP
Unit
Restart
Page 113 / 998
ZTC command reference
ZTC
1-81
iMG/RG Software Reference Manual (System Configuration)
1.5.3
ZTC command reference
This section describes the commands available on the gateways to configure and manage the
ZTC Client
module.
1.5.3.1 ZTC Client commands
The table below lists the
ztcclient
commands provided by the CLI:
TABLE 1-5
ZTC Client Commands
1.5.3.1.1 ZTCCLIENT ENABLE DYNAMIC
Syntax
ZTCCLIENT ENABLE DYNAMIC LISTENINTERFACE <ipinterface>
Description
This command enables the ztcclient and binds it on an existing dynamic IP interface. This
command automatically creates a specific configuration rule that applies to the IP inter-
face in order to force the
dhcpclient
module to request the ZTC server address inside
the option list of the DHCP discover request sent to the external DHCP server.
Note:
This command requires that <ipinterface> is defined as dynamic interface, thus it must have the DHCP
flag enabled.
To apply changes to the ZTC client module and turn on it, use the ZTCCLIENT UPDATE
command.
Options
The following table gives the range of values for each option, which can be specified with
this command, and a default value (if applicable).
Option
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
ZTCCLIENT ENABLE DYNAMIC
X
X
X
X
X
X
X
X
X
ZTCCLIENT ENABLE STATIC
X
X
X
X
X
X
X
X
X
ZTCCLIENT DISABLE
X
X
X
X
X
X
X
X
X
ZTCCLIENT SHOW
X
X
X
X
X
X
X
X
X
ZTCCLIENT SET CONFIGTIMEOUT
X
X
X
X
X
X
X
X
X
ZTCCLIENT SET POLLINGTIMEOUT
X
X
X
X
X
X
X
X
X
ZTCCLIENT UPDATE
X
X
X
X
X
X
X
X
X
Page 114 / 998
ZTC
ZTC command reference
iMG/RG Software Reference Manual (System Configuration)
1-82
Example
--> ztcclient enable dynamic listeninterface ip0
See also
ZTCCLIENT DISABLE
1.5.3.1.2 ZTCCLIENT ENABLE STATIC
Syntax
ZTCCLIENT ENABLE STATIC ZTCSERVERADDR <ztcserveraddr>
Description
This command enables the ztcclient, and set the ZTC Server IP address.
To apply changes to the ZTC client module and turn on it, use the ZTCCLIENT
UPDATE command.
Options
The following table gives the range of values for each option that can be specified with
this command, and a default value (if applicable).
Example
--> ztcclient enable static ztcserveraddr 192.168.102.3
See also
ZTCCLIENT DISABLE
1.5.3.1.3 ZTCCLIENT DISABLE
Syntax
ZTCCLIENT DISABLE
Description
This command disables the ztcclient module.
Example
--> ztcclient disable
See also
ZTCCLIENT ENABLE
Option
Description
Default Value
IP
INTERFACE
The name of an existing IP interface.To see the
list of existing interfaces, use the IP LIST INTER-
FACE command.
N/A
Option
Description
Default Value
Z
TCSERVERADDR
The IP address of the interface used to connect to
the ZTC Server. The IP address must be specified
in IPv4 format (e.g. 192.168.102.3)
N/A
Page 115 / 998
ZTC command reference
ZTC
1-83
iMG/RG Software Reference Manual (System Configuration)
1.5.3.1.4 ZTCCLIENT SHOW
Syntax
ZTCCLIENT SHOW
Description
This command shows the ZTC Client configuration parameters.
Example
The following example shows the ZTC client parameters when a dynamic configuration is
set.
ZTC CLIENT CONFIGURATION
- GENERAL PARAMETERS
enabled: false
dynamic: true
configuration timeout:
60 seconds
server address in use:
192.168.1.10
- DYNAMIC CONFIGURATION
interface:
ip0
- STATIC CONFIGURATION
server address for static configuration:
0.0.0.0
1.5.3.1.5 ZTCCLIENT SET CONFIGTIMEOUT
Syntax
ZTCCLIENT SET CONFIGTIMEOUT <configtimeout>
Description
This command changes the value of the
configtimeout
, which is the polling time interval
used by the ztcclient when it check if new configurations are available on the ZTC server.
Options
The following table gives the range of values for each option that can be specified with
this command, and a default value (if applicable).
Example
--> ztcclient set configtimeout 30
See also
ZTCCLIENT SHOW
1.5.3.1.6 ZTCCLIENT SET POLLINGTIMEOUT
Syntax
ZTCCLIENT SET POLLINGTIMEOUT <pollingtimeout>
Option
Description
Default Value
C
ONFIGTIMEOUT
The polling time (in minutes) used by the ztcclient
module when the gateway is already configured.
Acceptable values are from 1 to 120 minutes,
1

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top