Looking for a better way to do this, preferably open source
So i have a lot of switches going up and down with similar config, its for a LAN party with about 500 ppl. The switches do not support ZTP. I have a deafault config wich basicly only has one vlan I call config vlan. I have a server with linux/dhcp on that vlan. Then I wrote a simple program wich tails the dhcp log, looks for DHCPACK, extracts the IP and pushes it to a file. Then I use snmp to pull cdp data from that switch, from the cdp data i know what distrobution switch its connected to, on which port, based on that I push a the name of the config along with the IP of my tftp server to the switch, ordering it to download the switch from there. The tftp server is a python program i have written to process php files and give the result instead of pure files. It is simply a hacked solution instead of ZTP on old switches. Anyone who has some ideas for improving this? All sugestions or brainstorming is welcome
Posted Feb 18, 2019, 8:24 PM UTC
maybe using DevOps software of some type..
what is the goal anyway? provide dynamic config to switches ?
ZTP allows for factory reset switches to get DHCP off native .. and DTP being enabled by default will have the switches build truck ports between them so... if vlan 1 is the switch management and vlan 1000 is for users.. you could automate this.
what kind of LAN party has 500 people ;] seems like a noticeable event