Spectrum NCM TFTP Load Firmware Task fails when uploading large files
search cancel

Spectrum NCM TFTP Load Firmware Task fails when uploading large files

book

Article ID: 74445

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Spectrum NCM TFTP Load Firmware Task fails when uploading large files. Smaller files do not have this issue.

After setting the NCM_SnmpFirmwareUploadDebugFlag attribute id 0x8200d3  to Yes on the Device Family model (Cisco IOS for example), the following is seen in the $SPECROOT/VNM.OUT file after reproducing the issue


Firmware Image: image.bin
Destination Name: image.bin
Boot Command: boot system flash flash:image.bin
Backup Boot Command: boot system flash
From Server: xx.xx.xx.xx
Timeout (sec): 600
Source Directory Name:
Erase: copyToFlashWithoutErase
Protocol: TFTP (0)
Reload: No Reload
Reload Immediately: false
reload command: 'reason (via Spectrum)'
CopyConfig: false
Script Login Timeout (sec): 5
Script Cmd Timeout (sec): 5
Device 0x5a0771f (device.rl) supports the default family protocol of TFTP
Firmware Upload starting for mh=0x5a0771f (device.rl)
Wait Period is 1000ms / 1 sec / 0.0166667 min.
Status of Firmware Image upload phase for Model 0x5a0771f (device.rl) copyInProgress(1)
Status of Firmware Image upload phase for Model 0x5a0771f (device.rl) copyInProgress(1)
….
Status of Firmware Image upload phase for Model 0x5a0771f (device.rl) copyOperationSuccess(2)
Error = 0x821f02 for Model 0x5a0771f (device.rl)
/tftpboot/. File will need to be removed manually.
Firmware Image was Upload Successful. Upload of boot cmd is starting ... for mh=0x5a0771f (device.rl)
Boot cmd(s) being upload are:
no boot system
boot system flash flash:image.bin
for mh=0x5a0771f (device.rl)
c 'no boot system
boot system flash flash:image.bin' starting for mh=0x5a0771f (device.rl)
Initial Capture running config failed with error 0x821002
Upload config failed with error 0x1 for mh=0x5a0771f (device.rl)
do_load has finished with error: 0x1

NOTE: Error = 0x00821002 mean SCM_TIMEOUT

Environment

Any version of Spectrum

Cause

Very poor performance of TFTP server.

Resolution

Increase the "TFTP Transfer Timeout (sec) value in the TFTP Configuration subview of the Configuration Manager model: