Closed Macleykun closed 3 years ago
I can verify that tftproot is set correct etc, b/c if i request the image i want manually (copy tftp: flash:) it will actually start downloading the whole file. So i'm not exactly sure why this happens.
Hi -
Use tcpdump to see if the switch is actually requesting the file. I have not successfully used this feature on IOS-XE devices (e.g. Catalyst 3850/9K). See issue #37. Functionality for this feature seems to be platform sensitive. EEM-based upgrade automation is recommended.
PSC
I have checked with a college and found out that the 3850 was in bundle mode. Therefore it could never request the file and had to be configured into install mode!
If any user has the same issue, here is the appropiate documentation: https://content.cisco.com/chapter.sjs?uri=/searchable/chapter/c/en/us/td/docs/switches/lan/Denali_16-1/ConfigExamples_Technotes/Config_Examples/Misc/qos/m_install_vs_bundle.html.xml
Thank you for all your help! The whole provisioning works!
I've been trying for a while to update my 3850 with FreeZTP, but i'm not entirely sure why the upgrade never happens. The tftproot is set on /home/macley/ and it has the default permissions. (i also tried with /etc/ztp/tftproot/ but sadly same issue. Also tried with chmod 777 but alas.
I'm doing an upgrade from cat3k_caa-universalk9.16.09.06.SPA.bin to cat3k_caa-universalk9.16.12.05b.SPA.bin.
The ZTP config is set to do the following: ztp set imagefile cat3k_caa-universalk9.16.12.05b.SPA.bin ztp set image-supression 30
note that all bin files have full read permissions (default).
The logs that i have goes as followed:
I've made sure to make the imagesupress to 30 seconds. So it will always trigger. However, when i check the flash content of the switch after it's finished with it's config. I notice no new image/bin file was added.
I've also restarted the FreeZTP service to apply the changes.
I haven't changed the initial config, but did change the long_template to something else. However i do think this is unrelevant?
Everything works except this last part, other then that the program works flawlessly :D it's truely amazing in my eyes!