I have seen on this board scripts to backup cisco WLC devices. What is the suggested procedure to include:
wlogin and ciscowlc scripts in standard rancid.
Do you have to update the normal rancid script to call these?
How do you configure router.db file e.g
mydevice:ciscowlc:up
Any inputs are much appreciated.
As Jeremy suggested it would be nice if there was a little Howto as some people already have this working.
Thanks and best regards,
David
--
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser
_______________________________________________
Rancid-discuss mailing list
Rancid-...@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Update rancid-fe:
# diff rancid-fe rancid-fe.20100217
61d60
< 'ciscowlc' => 'ciscowlc5',
Add the scripts wlogin and ciscowlc5 to the rancid bin directory.
Make sure they are executable.
Update the router.db file
<your wlc>:ciscowlc:up
Test
ciscowlc5 -d <your wlc>
This works for me now. Thanks to Ryan for the scripts.
Regards,
David
-------- Original-Nachricht --------
> Datum: Wed, 17 Feb 2010 13:48:37 +0100
> Von: "David Mantock" <david....@gmx.ch>
> An: Rancid-...@shrubbery.net
> CC: Jerem...@memorial.org
> Betreff: [rancid] Cisco WLC
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser
> -----Original Message-----
> From: David Mantock [mailto:david....@gmx.ch]
> Sent: Wednesday, February 17, 2010 7:49 AM
> Subject: Cisco WLC
>
> Hello All,
>
> I have seen on this board scripts to backup cisco WLC devices. What is
> the suggested procedure to include:
>
> wlogin and ciscowlc scripts in standard rancid.
>
> Do you have to update the normal rancid script to call these?
>
> How do you configure router.db file e.g
>
> mydevice:ciscowlc:up
Yup, unless it's a version 5, in which case it would be ciscowlc5. The only difference is that 'show running-config' (version 4) has been moved to 'show run-config commands' in version 5. Pretty sure with basic version check, the proper command file could be parsed.
>
> Any inputs are much appreciated.
>
> As Jeremy suggested it would be nice if there was a little Howto as
> some people already have this working.
>
Place wlogin, ciscowlc, and ciscowlc5 in your bin directory of the RANCID install. Then add the following two lines to your $PREFIX/bin/rancid-fe file:
'cisco-wlc' => 'ciscowlc',
'cisco-wlc5' => 'ciscowlc5',
That should be it.
-ryan
Thanks,
Sam
> -----Original Message-----
> From: Sam Munzani [mailto:smun...@comcast.net]
> Cc: David Mantock; Rancid-...@shrubbery.net;
> Jerem...@memorial.org
> Subject: Re: [rancid] Re: Cisco WLC
>
> >
> Did you check "show run" on both platforms? It should work on both
> since
> cisco allows short commands as long as its uniq.
>
Here is the issue, version 5:
(Cisco Controller) >show run
Incorrect usage. Use the '?' or <TAB> key to list commands.
(Cisco Controller) >show run-config
Press Enter to continue...
System Inventory
NAME: "Chassis" , DESCR: "4400 Series WLAN Controller:25 APs"
This is not the configuration, but live information, including channel power, clients connected, and internal temperature information which will change often.
(Cisco Controller) >show running-config
Notice: "show running-config" has been changed to be an alias to "show run-config".
Use "show run-config commands" to display the configuration commands.
Press Enter to continue or <Ctrl-Z> to abort...
System Inventory
NAME: "Chassis" , DESCR: "4400 Series WLAN Controller:25 APs"
On a version 4, wlc:
(Cisco Controller) >show run-config commands
System Inventory
NAME: "Chassis" , DESCR: "4400 Series WLAN Controller:12 APs"
(Cisco Controller) >show run-config
Press Enter to continue...
System Inventory
NAME: "Chassis" , DESCR: "4400 Series WLAN Controller:12 APs"
And here is the desired command to get the config:
(Cisco Controller) >show running-config
802.11a cac voice tspec-inactivity-timeout ignore
802.11a cac voice stream-size 84000 max-streams 2
802.11b cac voice tspec-inactivity-timeout ignore
(Cisco Controller) >show run
Incorrect usage. Use the '?' or <TAB> key to list commands.
Unfortunately, like a lot of cannibalized Cisco purchases, there is not a unified CLI.
I guess there is not many options here.
Thanks,
sam
see the way the rancid/cisco ios script deals with this problem. run
both, take which ever one works.