SECTION 5 " Software Download
file sdvars set | checkpoint 1 |
file fe ab: |
|
file sdvars set | checkpoint 2 |
file tftp get * | ustart29.bin ab: |
file 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, for example, 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 statement was executed.
Terminate
Use Terminate to stop the download process in an access point. The variable’s format is:
File>sdvars set terminate <value>
If StartTime is counting down, setting this variable stops the timer, halting the software download process.
Use caution with this variable. If the script file is being downloaded, or the commands in the script file are being executed, setting this variable interrupts the processing at its current location, halting the software download process. This can leave the access point in an unknown state.
It is your responsibility to determine this state and take any corrective action necessary. If the NextPowerUpTime variable is counting down, setting this variable stops the timer, halting the reboot process.