[rancid] --PossibleSpam-- : my scripts for Cisco WLC

Chris DeRemer CDeRemer at caron.org
Mon Mar 12 12:18:31 UTC 2012


Zito,

What version of code are you running on your WLC. I've found in the past that different versions of the code respond differently to the login scripts. Even intermediate versions from 5.1 to 5.2.

Great work on this script!

Cheers,
Chris

-----Original Message-----
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Václav Ovsík
Sent: Wednesday, March 07, 2012 5:15 AM
To: rancid-discuss at shrubbery.net
Subject: --PossibleSpam-- : [rancid] my scripts for Cisco WLC
Importance: Low

Hi,
We have:

(Cisco Controller) >show udi

NAME: "Chassis"    , DESCR: "Cisco Wireless Controller"
PID: WS-C3750G-24WS-S25,  VID: V02,  SN: FOCxxxxxxx

(Cisco Controller) >show sysinfo

Manufacturer's Name.............................. Cisco Systems Inc.
Product Name..................................... Cisco Controller Product Version.................................. 5.2.193.0 RTOS Version..................................... 5.2.193.0 Bootloader Version............................... 4.0.217.0 Emergency Image Version.......................... 5.2.157.0 ...

This box has a prompt as show above `(Cisco Controller) >' and non standard command to disable paging:

config paging disable

so a standard clogin can't handle it.

I found a post
http://www.shrubbery.net/pipermail/rancid-discuss/2010-February/004652.html
and start with attached wlogin and ciscowlc5, many thanks for this starting point to Jeremy.

The original wlogin not used disabled paging and the stupid box did paging in the middle of the line. Fortunately I found the command above for disabling paging. After learning expect a bit :) I took original clogin from Rancid, strip down enable mode and apply the different prompt and command to disable paging. I modify a little ciscowlc5, so it can be used with http://sites.google.com/site/jrbinks/code/rancid/wraprancid.

My versions of files wlogin and ciscowlc5 are attached. Hope it can be useful for someone.

I'm not subscribed on this list, so keep me in the Cc please if I should receive a reply..

Regards
--
Zito


More information about the Rancid-discuss mailing list