Recent Blog Posts

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 Initial Packet Handling Multicast Group Setup Distribution to Badges Badge Join Process Multicast Transmission WLC Processing Final AP Processing Note on Directed Multicast Service (DMS) If Directed Multicast Service is enabled on the WLC: Without DMS: References:

  • 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 Basics OK since I know not everyone is going to know how to get everything set up to successfully run scripts, here’s the quick rundown: Building the script First thing we need to do is tell Python to load the factory function ‘ConnectHandler’ that is part of the Netmiko library by putting from netmiko…

Subscribe

Enter your email below to receive updates.