Chapter 9: Additional Access Point Features

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

sdvars set setactivepointers

Purpose: Sets the setactivepointers command to change inactive segments to active segments the next time the access point is rebooted. This command is usually used with the nextpoweruptime command.

Syntax: sdvars set setactivepointers none/boot/data/both

where:

 

none

does not change the active segments. The default is none. Also,

when the reboot is completed, the access point resets this value to none.

boot

changes the inactive boot segment to the active boot segment.

data

changes the inactive data segment to the active data segment.

both

changes both the boot and data inactive segments to the active

segments.

286

Page 286
Image 286
Allied Telesis AT-WA7500, AT-WA7501 manual Sdvars set terminate, Sdvars set setactivepointers