Most Recent Posts:
-

Python automation for Cisco AireOS WLCs – Part 3 – Gathering Info
Now that we’ve gotten down the basics of how to connect to a device (see Part 2), let’s learn how to gather and store info for further processing, i.e. check or change current configurations on the WLC. In Part 2, we connected to the WLC and printed out the WLANs configured. Now, let’s learn how…
-

Vocera Multicast Flow
Initiation The user initiates a broadcast by pressing the button on the Vocera Badge and saying “Broadcast {{ groupname }}”. The Vocera Badge sends a unicast frame to the Vocera Server requesting a multicast group. Initial Packet Handling The Access Point (AP) receives the packet, encapsulates it using CAPWAP (Control And Provisioning of Wireless Access…
-

Elegant Ways to Manipulate Print Outputs in Python
Elegant Ways to Manipulate Print Outputs in Python If you’re anything like me, you’ve probably used multiple print() statements to add blank lines between outputs. But as I’ve discovered, there are more elegant ways to manipulate print outputs in Python! Let me show you some of the most helpful techniques I’ve found. The Old Way…
-

Python automation for Cisco AireOS WLCs – Part 2 – Handling Sensitive Info
Handling Sensitive Info In Part 1, we created a Python script that gathered the current WLANs configured on a device, but the password to do so is in plain text in the script. This is bad. Anyone with access to the script file can grab those creds and use them. Let’s look at a few…
-

Python automation for Cisco AireOS WLCs
TL:DR Make sure Python and Netmiko are installed Create a ‘.py’ file Gotta have from netmiko import ConnectHandler before everything else Build your device dictionary (device = {‘device_type’: ‘cisco_wlc’, …}) Establish a connection to the device (net_connect = ConnectHandler(**device)) Send command(s) to the device Disconnect from the device (net_connect.disconnect()) Basics OK since I know not…
Subscribe
Enter your email below to receive updates.

