Re: [rancid] Rancid and Netgear switches
Wed, May 16, 2018 at 05:08:04PM +, o...@leferguson.com: > > Looks a lot like a Ubiquiti EdgeMAX so presumably Ubiquiti and Netgear are > > buying the design from the same place. > > You're in luck: > > # edgemax.pm - Ubiquity ("UBNT") EdgeMAX switch rancid procedures > > > > Real close but it uses exit not logout. exit won't actually log off, it just > loops forever. Doing a site turn-up now so cannot experiment much more until > later today or evening. Not sure if that part is in clogin or the module > edgemax. > > Thanks, getting closer. > > Linwood i'd added this for f5 v13, perhaps something similar would work for ulogin. Index: bin/clogin.in === --- bin/clogin.in (revision 3786) +++ bin/clogin.in (working copy) @@ -440,6 +440,11 @@ send -h "exit\r" exp_continue; } + -re "^\[^\n\r *]*Use .quit. to end" { + # the F5 >=11 uses quit + send -h "quit\r" + exp_continue; + } "The system has unsaved changes"{ # Force10 SFTOS if {$do_saveconfig} { catch {send "y\r"} ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: [rancid] Rancid and Netgear switches
If you post a snippet of config, somebody might recognise what ODM makes the switches. alexd On 16/05/18 14:25, o...@leferguson.com wrote: For a client I suddenly am getting a pile of Netgear switches. I had previously patched the Dell routines to work with DLink and am starting to do the same for Netgear (it supports a show running_config), but I did not see either much discussion (some in 2008) or any built in support (at least under the name netgear). I know they are not the biggest name in enterprise gear, but they are getting a larger presence all the time. Is there something out of the box that might work, or is manually fixing up routines the right path? At the moment I'm continuing to patch the dllogin (etc) so I localize all my patches, if there's a better spot...? Linwood ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
[rancid] Rancid and Netgear switches
For a client I suddenly am getting a pile of Netgear switches. I had previously patched the Dell routines to work with DLink and am starting to do the same for Netgear (it supports a show running_config), but I did not see either much discussion (some in 2008) or any built in support (at least under the name netgear). I know they are not the biggest name in enterprise gear, but they are getting a larger presence all the time. Is there something out of the box that might work, or is manually fixing up routines the right path? At the moment I'm continuing to patch the dllogin (etc) so I localize all my patches, if there's a better spot...? Linwood ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss