Allied Telesis AT-WA7500 User Manual
Page 244

9 - Additional Access Point Features
244
Example:
To begin the script file download in 5 minutes, enter:
sdvars set starttime 00:00:05:00
Note
If you need to stop the download, you can do so by setting
starttime to 0 if it has not already been reached by the countdown.
Resetting starttime to 0 stops the timer and the download process.
sdvars set checkpoint
Purpose:
Sets the internal variable called checkpoint
to a specified value. The checkpoint
variable is useful for monitoring the
progress of a script file as it is executed. You
can set the checkpoint variable to a
different value after each script command,
and then query the checkpoint value using
SNMP to determine the progress of the
download.
Syntax:
sdvars set checkpoint value
where value is a whole number.
Example:
Consider the following script file commands:
sdvars set checkpoint 1
fe ab
sdvars set checkpoint 2
TFTP get * uap.prg ab
sdvars set checkpoint 3
reboot
When the software download is started, you can use SNMP to
query its progress by reading the checkpoint variable. If the
variable has a value of 2, you know that the access point is trying
to execute the TFTP get statement. If the value is 3, you know the
script has completed and the reboot was executed. The value of
the checkpoint variable may also be helpful in determining where
an error occurred if the script fails.