Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

my scripts for Cisco WLC

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


vaclav.ovsik at i

Mar 7, 2012, 2:15 AM

Post #1 of 2 (901 views)
Permalink
my scripts for Cisco WLC

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
Attachments: wlogin (20.0 KB)
  ciscowlc5 (9.31 KB)


CDeRemer at caron

Mar 12, 2012, 5:18 AM

Post #2 of 2 (859 views)
Permalink
Re: --PossibleSpam-- : my scripts for Cisco WLC [In reply to]

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 [mailto:rancid-discuss-bounces [at] shrubbery] On Behalf Of Václav Ovsík
Sent: Wednesday, March 07, 2012 5:15 AM
To: rancid-discuss [at] shrubbery
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
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.