[rancid] Ubiquiti edgeswitch (edgemax) script?

Doug Hughes doug.hughes at keystonenap.com
Tue Nov 6 18:49:55 UTC 2018


Yeah, I haven't upgraded in a little while, so I had a suspicion that 
you had released a more recent one.



On 11/6/2018 1:46 PM, heasley wrote:
> Tue, Nov 06, 2018 at 01:33:10PM -0500, Doug Hughes:
>> I have a few of the edge switches (edgeswitch-X)
>>
>> I use this in my etc/rancid.types.conf
>>
>> # Ubiquiti Switches and some radios
>> ubntsw;script;rancid -t ubntsw
>> ubntsw;login;ulogin
>> ubntsw;module;ubnt
>> ubntsw;inloop;ubnt::inloop
>> ubntsw;command;ubnt::ShowVersion;show version
>> ubntsw;command;ubnt::ShowConfig;show configuration
>>
>> I have my own ulogin, but it looks like your login that you are
>> currently using works just fine.
>>
>> Basically, there are only 2 commands that matter, the show version and
>> show configuration.
>>
>> I contributed by lib/rancid/ubnt.pl back a couple of years ago, but
>> can't remember if it made it in. There may be a more recent way to do
>> it, but I'm happy to share it.
> Lacking testing from other folks, I wrote one a few IETFs ago.  there
> are 3 variations for UBNT switches/routers; see rancid.types.conf.  If I
> missed anything that your script supports, please lmk, otherwise I expect
> it matches or supercedes it.

-- 
Doug Hughes
Keystone NAP
Fairless Hills, PA
1.844.KEYBLOCK (439.2562) 	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20181106/f5d1f580/attachment.html>


More information about the Rancid-discuss mailing list