Large Image Upload using Configlets

Large Image Upload using Configlets

Hi all,

i have troubles figuring out a right way to automate image upload to Cisco Nexus Switches.
The images are large (~1,9Gb) and it takes significant amount of time to get it through.

The default timeout of Commands in Configlets (Advanced Script Mode) is set to 30 seconds, after that the session is closed an Image transfer remains incomplete.

So i played with timeout times by setting timeout='3600', that works, but of the cost of system stability, NCM was irresponsive at the end because it logged the whole transfer cli output:

 Trying to connect to tftp server......
 Connection to Server Established.
[ ] 0.50KB[# ] 4.50KB[## ] 8.50KB[### ] 12.50KB[####
] 16.50KB[##### ] 20.50KB[###### ] 24.50KB[####### ] 28.50KB[########
] 32.50KB[######### ] 36.50KB[########## ] 40.50KB[########### ]
44.50KB[############ ] 48.50KB[############# ] 52.50KB[############## ]
56.50KB[############### ] 60.50KB[################ ] 64.50KB[################# ]
68.50KB[################## ] 72.50KB[################### ] 76.50KB[#################### ]
80.50KB[##################### ] 84.50KB[###################### ] 88.50KB[####################### ]

and so on...

That how my Configlet looks like:

<command prompt=']?'>copy tftp: bootflash:</command>
<command prompt=']?'>$SOURCE_FILE_NAME</command>
<command prompt=']?'>$VRF</command>
<command prompt=']?' timeout='3600'>$TFTP_IP</command>

Is it the right way to do this kind of thing?
Did anyone have Ideas how to implement this scenario over configlets differently without playing around with amount of timeout and logging mess?

Thank you in advance!

Stanislaw
      • Sticky Posts

      • Spirit up and become a Network Configuration Manager expert

        Hello there,  We are back with our last free training of this year on Network Configuration Manager and we hope you are all geared up for it! ​ New to Network Configuration Manager ?  Don't worry, attend the training and learn the tool thoroughly.   Already a Network Configuration Manager user? Join us and catch up with our latest enhancements and new features.   Attend the training and learn the tips and tricks to manage your network like a pro!   Our two-part training series covers every Network
      • ManageEngine User Conference 2018 is here: Join us in Chicago for 2 days of invaluable training, and fun networking!

        We'd love to see you in Chicago for the ManageEngine User Conference and Training on the 25th and 26th of October. It's going to be two action-packed days designed to help you get more out of your ManageEngine experience - with a track completely dedicated to IT Operations Management.  ​Click here to check out all the details.    What's in it for you: Talk to our experts in 1:1 sessions, and get all your questions answered Watch live demos, learn what's new, and participate in hands-on training Discover
      • Learn tips and tricks of using Network Configuration Manager more efficiently. Join the training and learn for free.

        Hello there, We are back with our next series of free training on Network Configuration Manager!               New to Network Configuration Manager? This is the best time to join this training and learn how to use our solution extensively.  Already using Network Configuration Manager? We'll be talking about the new features and enhancements in the solution that would bring in more ROI to your business.   So make sure to attend this session to get the most out of Network Configuration Manager. Our
      • Free webinar: Network outages - Fight them off with configuration management.

        Hello there! We have a free webinar coming up on 26th of July, 12 PM AEST & 2.30 PM IST! The agenda for the webinar will be: - Cost of network disasters - Causes of network disasters - Disaster recovery with NCM - Backups - Restore configuration - Change management - Compliance - Firmware updates - Configuration Mgmt challenges and its solutions Register here to join the webinar. 
      • Free webinar: Configuration management done right - Prevent network outages and be disaster ready!

        Hello there! We have a free webinar coming up on 28th of June, 10 AM PDT! The agenda for the webinar will be: - Cost of network disasters - Causes of network disasters - Disaster recovery with NCM - Backups - Restore configuration - Change management - Compliance - Firmware updates - Configuration Mgmt challenges and its solutions Register here to join the webinar. 

                        New to ADSelfService Plus?