- Use APIC-Em to reconfigure 1200+ 2K and 3K switches. it should be possible to do so using the uploaded configs linked to the Serial numbers. Would like to get APIC-EM to update the IOS and the configurations of the remote sites having in mind that every site has it's own group of vlans AND management ip adresses.
- APIC-EM would deliver the correct configuration to the different types of switches (10/24 or 48 ports) - all the interfaces must be configured with the same configuration with exeception of the uplink interface and with the correct set of vlans - one set of 10 vlans for every location.
Have recently added APIC-EM PnP support to it. Essentially, the tool uses the Embedded Event Manager, a backend web server, and Cisco auto-install to learn about the device and generate a specific config for it. Then, it pushes the device info to APIC-EM, which uses PnP to bootstrap the device.
The tools is written in PHP primarily. The code is online at [marcuscom] Index of /switch-ztp/trunk . Look at the www/functions.php module for the APIC-EM functions. These will be called by the www/swreg/swreg.php module.
For longer description of the process check at Automating Cisco Live 2014 In San Francisco | EEM Scripting | Cisco Support Community | 5941 | 12218591 .
Have generalized the code a bit to make it more suitable for other bootstrapping use cases.
Current code for the 2Ks does support full EEM (I think it's 15.2(4)E).
- - PnP solution can only upgrade a switch with software 15.2.2 so I must find a different method of performing the requested update (maybe SMI proxy? or some other management tool (LMs or PI)) for the switches running 15.0.2?
- - The APIC-EM is deployed on a Ubuntu server - is it possible to use the same Linux server to configure a MySQL DB and the TFTP server?
you will need an SMI proxy or use LMS/PI to do the initial upgrade. APIC-EM can work with an SMI proxy.
You don't want to risk breaking either the current app or any future upgrade. This is where virtualization is nice. Spin up another VM next to APIC-EM to handle the other bits.