cancel
Showing results for 
Search instead for 
Did you mean: 

Can I upgrade code using ZTP/dhcp code 43?

Can I upgrade code using ZTP/dhcp code 43?

David_Rahn
New Contributor

Can I upgrade code using dhcp code 43/ ztp? I have attempted this several times, I can get the switch to pull a config, or xsf, but it only pulls one file.

I have found a TAC paper :

https://extremeportal.force.com/ExtrArticleDetail?an=000078340

but this reads like Chineseium stereo instructions, it states that it will take several files including xos files, but my switches never ask for that file from the tftp server.( not using netsight) ( in fact the switches never ask for more than one file)

so the question is (yes or no / please no "here is a link to something you didn't ask")

If I get the option correctly formatted, will the switch download and install firmware from a tftp server?

If yes, does someone have an example of what files and server/ and what the option looks like.

Thanks for reading

DR

11 REPLIES 11

I did try this script, and infact that is what I am using for the server. but I was not able to get the switch to pull multiple files.

does it actually add the TLV format for every file? ( I assume it does just didn't whip out the hex converter)

As an addition to Dave's comment, we actually have a Python script (linked below) that will run on an EXOS switch (EXOS > 15.6) to configure DHCP option 43 in the EXOS DHCP server.

https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/dhcp43

While I would not suggest using EXOS as a DHCP server in a production network, I've used this for staging switches with configs and EXOS images a few times and it works well.

EXOS also does not seem to have any issues with sending the same sub-option multiple times, so it may be a good option for a lab/staging setup.
GTM-P2G8KFN