Thursday, January 21, 2016

Rancid and Cisco WLC

As I've blogged before, I'm using RANCID to backup and version configuration files of various network equipment. Unfortunatley it does not support Cisco's Wireless LAN Controller platform out of the box. But luckily it's rather easy to add support to RANCID....

The necessary scripts can be found here on GitHub.
  1. Place wlogin and ciscowlc into the PREFIX/bin folder. Usually /usr/bin/. When in doubt just check where the clogin binary is.
  2. Add these two lines to your rancid.types.conf. This file can be found in your rancid-folder. Usually /usr/local/rancid/etc/.
    ciscowlc;login;wlogin
    ciscowlc;script;ciscowlc
  3. Add the WLCs IP to your rancid group config like this:
    1.1.1.1;ciscowlc;up
    Don't forget to specify a user and password in your .cloginrc file!
  4. Profit!



No comments: