08-28-2020 02:21 PM
Messages on C9300 console, and a tcpdump on the www server, confirm that the switch is downloading ztp.py - repeatedly! It's a short script, the whole thing fits in one packet payload. The pcap shows ztp.py being downloaded 8 times, finally ending with a TCP session teardown. The switch displays no error message, but it does not execute ztp.py.
Why would it do this? What should I look at, to make ZTP work?
Any help would be very much appreciated!
10-09-2020 03:28 PM
I would double check the script is free of errors. In previous versions it would download and execute, but error out during run time. On 16.12, it seems it won't even load if there is a syntax error for example.
10-12-2020 07:46 AM
Lindsay,
Thanks for your reply! You are close to what the actual problem was.
The issue was with the DHCP scope configuration. Option 67 had been given with an explicit IP address in the HTTP URL, which was downloaded successfully - but the switch wanted also option 6, domain-name-servers.
thanks again -
/Lorraine
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide