published

cisco-wlc-cronicle

Cronicle plugin for enabling/disabling WLANs on a Cisco AireOS Controller.

Installation

To run this plugin, you need Cronicle. See their page for setup instructions.

After installing Cronicle, you need to import the plugin file (wlc-plugin.js) into the bin directory of the Cronicle install.

cp wlc-plugin.js /opt/cronicle/bin/

The file also needs the node-ssh npm packet as a dependency. Make sure to install it.

cd /opt/cronicle
npm install node-ssh

Log in to Cronicle. If using a fresh install, username/password is admin/admin.
Navigate to the admin page and click on Plugins > Add New Plugin.

Provide the following values:

Executable: bin/wlc-plugin.js // Note there is no '/' before bin!

Parameters:

Param ID Control Type
controller_ip Text Field
username Text Field
password Text Field
wlan_id Text Field
enable Checkbox

It should look like this:

configuration

Explanation

The controller_ip field indicates the IP address of the management interface on the WLC.

The username & password fields are used for SSH access.

The wlan_id field indicates which WLAN to toggle, and the enable field indicates the desired state of said WLAN.

Usage

Navigate to Schedule page and click on Add Event.

Select the plugin and provide the needed values.

Set all the other parameters to suit your needs.

For example, this setup turns on WLAN ID 5 at 8 AM every day:
example

View code on GitHub
  • Owner

  • Contributors

    +1Github contributor
  • Categories

  • Programming Languages

    JavaScript
  • License

    Apache License 2.0

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.