Discussion:
[rancid] Cisco WLC
David Mantock
2010-02-17 12:48:37 UTC
Permalink
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

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
David Mantock
2010-02-17 14:00:11 UTC
Permalink
OK here is the howto:

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
Betreff: [rancid] Cisco WLC
Hello All,
I have seen on this board scripts to backup cisco WLC devices. What is the
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
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser
Ryan West
2010-02-17 14:21:39 UTC
Permalink
David,
-----Original Message-----
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
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
Sam Munzani
2010-02-17 14:38:41 UTC
Permalink
Post by Ryan West
David,
-----Original Message-----
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
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.
Did you check "show run" on both platforms? It should work on both since
cisco allows short commands as long as its uniq.

Thanks,
Sam
Post by Ryan West
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.
'cisco-wlc' => 'ciscowlc',
'cisco-wlc5' => 'ciscowlc5',
That should be it.
-ryan
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Ryan West
2010-02-17 14:52:51 UTC
Permalink
This post might be inappropriate. Click to display it.
Sam Munzani
2010-02-17 18:21:36 UTC
Permalink
One would wish cisco would have some consistency :-(...

I guess there is not many options here.

Thanks,
sam
Sam,
-----Original Message-----
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.
(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"
(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"
(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.
-ryan
john heasley
2010-02-18 00:24:11 UTC
Permalink
Post by Ryan West
David,
-----Original Message-----
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
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.
see the way the rancid/cisco ios script deals with this problem. run
both, take which ever one works.
Post by Ryan West
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.
'cisco-wlc' => 'ciscowlc',
'cisco-wlc5' => 'ciscowlc5',
That should be it.
-ryan
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...