12-19-2024 04:46 AM
Hi Community,
I’m currently working on automating the configuration of WiFi SSIDs for a batch of Cisco 1121 devices using the Zero-Touch Provisioning (ZTP) process. I’ve been experimenting with Cisco's Embedded Event Manager (EEM) but ran into an issue—EEM doesn’t seem to work well with the hw-module commands.
Does anyone have suggestions or thoughts on a better approach to automate the configuration of SSIDs across many devices using ZTP or any other method? Any help or tips would be greatly appreciated!
Looking forward to your insights!
12-19-2024 05:02 AM - edited 12-19-2024 05:03 AM
Never went that far, so my idea here is just out of curiosity. Reading the ZRP documentation we can see this
"When a device that supports Zero-Touch Provisioning boots up, and does not find the startup configuration
(during fresh install on Day Zero), the device enters the Zero-Touch Provisioning mode. The device locates
a Dynamic Host Control Protocol (DHCP) server, bootstraps itself with its interface IP address, gateway, and
Domain Name System (DNS) server IP address, and enables Guest Shell. The device then obtains the IP
address or URL of a TFTP server, and downloads the Python script to configure the device."
If I were working in a project like that, I would try to build a script in Python that would do what you are trying to do.
12-19-2024 05:09 AM
Hello Flavio Miranda,
Yes, that's exactly our case!
The issue I’m facing is that I can't find any appropriate library or method that interacts with hw-module to configure the wireless settings on the Cisco 1121. While you can configure most of the router’s settings using standard automation tools, it seems like we’re hitting a wall when trying to configure things specifically inside the Wireless Controller, particularly related to the hw-module commands.
12-19-2024 05:29 AM
Not sure whether the device validate the language or not, but, if you can run in another language maybe you could take a look in TCL (expect). Expect insted library will run Cisco commands and interact with the promt of the device directly.
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