User's Manual
Liberator-V1000 User Manual Rev 04v05
Page 76 of 85 FBN Doc #: FBN-0125_04v05
6.2 Administration Management – SNMP – Basic SNMP scripts
The following scripts give examples of SNMP usage
Firmware Upload (Prep)
set sub10UnitMgmtFirmwareUplSvrIp = (The ip address of a tftp server which the unit will use to
get the firmware image from)
set sub10UnitMgmtFirmwareUplImage = (String firmware image name)
Firmware Upload (Command)
set sub10UnitMgmtFirmwareAction = fmwUploadInactiveBank(4) (Uploads from the above
tftpserver and loads into the inactive bank)
Firmware Upload (Monitoring the progress)
get sub10UnitMgmtFirmwareActStatus (values will change in order as the upload progresses as
follows)...
fmwUploadingImage(6)
fmwUploadingImageComplete(7)
fmwValidatingImage(10)
fmwImageValidateSuccess(11)
fmwUploadWritingBank(8)
fmwUploadWritingBankComplete(9)
mwUploadSuccess(1)
Error states
fmwUploadFailed(2)
fmwUploadTimeout(3)
fmwUploadFileNotFound(4)
fmwUploadInvalid(5)
fmwImageValidateFailed(12)
During sub10UnitMgmtFirmwareActStatus = fmwUploadWritingBank(8)....
get sub10UnitMgmtFirmwareActProgress (An incrementing % from 0 - 100 indicating the progress
of the bank writing)
The Bank being loaded
get sub10UnitMgmtFirmwareToBank
Change Bank and Reboot
set sub10UnitMgmtFirmwareSelectBank = (1 or 2) which is the inactive bank and should be the
same as sub10UnitMgmtFirmwareToBank set during the upload.
set sub10UnitMgmtFirmwareAction = fmwReboot(2) ( the unit will now reboot so you will lose
connectivity - Check for ColdStart Trap from the Unit)
On successful restart Confirm Firmware Upgrade (important to do within 3 minutes)
get sub10UnitMgmtTransactionStatus
If the value = transStatusActive(2)
set sub10UnitMgmtTransaction = transactionCommit(2) (This confirms the upgrade and avoids
rollback to previous firmware after 3 minutes)