beautypg.com

Allied Telesis AT-WA7501 User Manual

Page 295

background image

AT-WA7500 and AT-WA7501 Installation and User’s Guide

295

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 1

sdvars set checkpoint 2

TFTP get * ap824x.prg 1

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.

sdvars set terminate

Purpose:

Sets the internal variable terminate to a specified value. Use terminate to
stop a countdown process in the access point. If either starttime or
nextpoweruptime is counting down, setting this variable stops the timer
and halts the countdown process.

Note

You should use caution when using this command. If the script file is
being downloaded or executed, setting this variable interrupts the
processing and can leave the access point in an undetermined state
that may require user intervention.

Syntax:

sdvars set terminate

This manual is related to the following products: