[rancid] Rancid WLC - no command after login

king1982 at centrum.cz king1982 at centrum.cz
Wed Dec 22 08:07:48 UTC 2010


Hello Ryan,

I fixed my 1st problem with login to WLC - in "wlogin" I set up "set avenable 0" (default value  - "set avenable 1".

rancid at ejpsrvnetmng01:~$ /opt/rancid/bin/wlogin 10.0.0.100
10.0.0.100
spawn telnet 10.0.0.100
Trying 10.0.0.100...
Connected to 10.0.0.100
Escape character is '^]'.

(Cisco Controller)
User: Cisco
Password:**********
(Cisco Controller) >
(Cisco Controller) >?

clear          Clear selected configuration elements.
config         Configure switch options and settings.
debug          Manages system debug options.
help           Help
linktest       Perform a link test to a specified MAC address.
logout         Exit this session. Any unsaved changes are lost.
ping           Send ICMP echo packets to a specified IP address.
mping          Send Mobility echo packets to a specified mobility peer IP address.
eping          Send Ethernet-over-IP echo packets to a specified mobility peer IP address.
reset          Reset options.
save           Save switch configurations.
show           Display switch options and settings.
test           Test trigger commands
transfer       Transfer a file to or from the switch.

(Cisco Controller) >logout
The system has unsaved changes.
Would you like to save them now? (y/N) n
Connection closed by foreign host.
rancid at ejpsrvnetmng01:~$

But problem with collecting configuration continues. yes, I´m using ciscowlc5. 

Below is result with -d parametr:

rancid at ejpsrvnetmng01:~$ /opt/rancid/bin/ciscowlc5 -d 10.0.0.100
executing wlogin -t 90 -c"show udi;show sysinfo;show run-config commands" 10.0.0.100
sh: wlogin: command not found
10.0.0.100: missed cmd(s): show sysinfo,show udi,show run-config commands
10.0.0.100: missed cmd(s): show sysinfo,show udi,show run-config commands
10.0.0.100: End of run not found
10.0.0.100: End of run not found

Thanks

Martin
______________________________________________________________
> Od: "Ryan West" <rwest at zyedge.com>
> Komu: "king1982 at centrum.cz" <king1982 at centrum.cz>, Ryan West <rwest at zyedge.com>,        "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net>
> Datum: 12.12.2010 15:18
> Předmět: RE: [rancid] Rancid WLC - no command after login
>
>Martin,
>
>I assume you're using ciscowlc5?  What you're seeing is the timeout when it tries to run one of the variations of show running-config / show running-config all.
>
>Try adding the -d switch and should see where it times out.
>
>-ryan
>
>-----Original Message-----
>From: king1982 at centrum.cz [mailto:king1982 at centrum.cz] 
>Sent: Saturday, December 11, 2010 7:59 PM
>To: Ryan West; rancid-discuss at shrubbery.net
>Subject: RE: [rancid] Rancid WLC - no command after login
>
>
>Hello Ryan,
>
>WLC SW  version is 5.2.193.0
>
>Martin
>
>______________________________________________________________
>> Od: "Ryan West" <rwest at zyedge.com>
>> Komu: "king1982 at centrum.cz" <king1982 at centrum.cz>,"rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net>
>> Datum: 11.12.2010 21:27
>> Předmět: RE: [rancid] Rancid WLC - no command after login
>>
>>Martin,
>>
>>What version of WLC are you trying to backup?
>>
>>-ryan
>>
>>-----Original Message-----
>>From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of king1982 at centrum.cz
>>Sent: Saturday, December 11, 2010 12:30 PM
>>To: rancid-discuss at shrubbery.net
>>Subject: [rancid] Rancid WLC - no command after login
>>
>>
>>Hello,
>>
>>I´m trying to set up RANCID to collect my WLC device configurations. 
>>
>>I placed wlogin, ciscowlc and ciscowlc5 in bin directory of the RANCID, then edit /bin/rancid-fe file: 
>>
>>'cisco-wlc' => 'ciscowlc',
>>'cisco-wlc5' => 'ciscowlc5',
>>
>>mydevice:ciscowlc:up added to router.db
>>
>>In log file I found this:
>>
>>Trying to get all of the configs.
>>10.0.0.100: error: Error: TIMEOUT reached
>>10.0.0.100: missed cmd(s): show sysinfo,show udi,show run-config commands
>>10.0.0.100: End of run not found
>>10.0.0.100: wlogin error: Error: TIMEOUT reached
>>10.0.0.100: missed cmd(s): show sysinfo,show udi,show run-config commands
>>10.0.0.100: End of run not found 
>>
>>After this result I try to test function of wlogin script: 
>>
>>wlogin 10.0.0.100 -> "succesfully" log in to device, but I could not use any command as usually (show, ...)
>>
>>Any suggestions what is wrong?  
>>
>>Thanks and best regards,
>>
>>Martin
>>_______________________________________________
>>Rancid-discuss mailing list
>>Rancid-discuss at shrubbery.net
>>http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>>
>


More information about the Rancid-discuss mailing list