From howie at thingy.com Thu May 3 16:05:27 2018 From: howie at thingy.com (Howard Jones) Date: Thu, 3 May 2018 17:05:27 +0100 Subject: [rancid] clogin adding 'exit' command? Message-ID: I'm updating an old F5 loadbalancer script to work with BIG-IP 13.1 - it seems that since the last time I needed to use it, F5 have changed to starting users in tmsh instead of bash, so the command list needed to be tweaked. That's all fine but... What I end up with is the following clogin command-line: clogin -t 90 -c "modify cli preference pager disabled display-threshold 0;show /sys version;show /sys hardware;show /sys license;show /net route static;list all-properties recursive" lb01 which does everything I need, but then sits at the final prompt repeatedly type 'exit': rancidconfbackup@(lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)#exit Use "quit" to end the current session rancidconfbackup@(lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit Use "quit" to end the current session Where is this 'exit' coming from? Can it be altered? If I add 'quit' to the end of my command list, then instead it complains EOF received and none of the commands are matched: rancidconfbackup@(lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# quit Connection to lb01 closed. Error: EOF received Do I need to dig into the expect code to deal with this? Thanks for any pointers (or to a modern f5rancid)... Howie From heas at shrubbery.net Thu May 3 16:38:26 2018 From: heas at shrubbery.net (heasley) Date: Thu, 3 May 2018 16:38:26 +0000 Subject: [rancid] clogin adding 'exit' command? In-Reply-To: References: Message-ID: <20180503163826.GA80287@shrubbery.net> Thu, May 03, 2018 at 05:05:27PM +0100, Howard Jones: > I'm updating an old F5 loadbalancer script to work with BIG-IP 13.1 - > it seems that since the last time I needed to use it, F5 have changed > to starting users in tmsh instead of bash, so the command list needed > to be tweaked. That's all fine but... if you run rancid 3.6 (or better 3.7) there are two device types for f5; f5 and bigip (for >=11.0). > What I end up with is the following clogin command-line: > > clogin -t 90 -c "modify cli preference pager disabled > display-threshold 0;show /sys version;show /sys hardware;show /sys > license;show /net route static;list all-properties recursive" lb01 > > which does everything I need, but then sits at the final prompt > repeatedly type 'exit': > > rancidconfbackup@(lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)#exit > Use "quit" to end the current session > rancidconfbackup@(lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit > Use "quit" to end the current session > > Where is this 'exit' coming from? Can it be altered? > > If I add 'quit' to the end of my command list, then instead it > complains EOF received and none of the commands are matched: > > rancidconfbackup@(lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# quit > Connection to lb01 closed. > > Error: EOF received > > Do I need to dig into the expect code to deal with this? the expect it using exit to logout. Does this work 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"} > Thanks for any pointers (or to a modern f5rancid)... > > Howie > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss From howie at thingy.com Thu May 3 17:39:55 2018 From: howie at thingy.com (Howard Jones) Date: Thu, 3 May 2018 18:39:55 +0100 Subject: [rancid] clogin adding 'exit' command? In-Reply-To: <20180503163826.GA80287@shrubbery.net> References: <20180503163826.GA80287@shrubbery.net> Message-ID: Aha, thanks! That's much neater than my bodge (make an f5login and remove the conditional for send quit/exit). For anyone else, heasley's clogin patch above, plus this new type got me going: bigip13;script;rancid -t bigip13 bigip13;login;clogin bigip13;module;bigip bigip13;inloop;bigip::inloop bigip13;command;rancid::RunCommand;modify cli preference pager disabled display-threshold 0 bigip13;command;bigip::ShowVersion;show sys version bigip13;command;bigip::ShowHardware;show sys hardware bigip13;command;bigip::ShowLicense;show sys license bigip13;command;bigip::ShowRouteStatic;show /net route static bigip13;command;bigip::WriteTerm;list all-properties recursive From gmourani at gmail.com Fri May 4 13:51:54 2018 From: gmourani at gmail.com (Gerhard Mourani) Date: Fri, 4 May 2018 09:51:54 -0400 Subject: [rancid] Cisco CPU goes crazy Message-ID: <3476852D-C6FD-4C53-86CB-85B5989B32E3@gmail.com> Hello, Rancid version is 3.7 on Linux. When Rancid logs on to the Cisco switches listed bellow, the CPU goes crazy for a few seconds which causes some processes like OSPF to converge. Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 316 ports Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 124 ports Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 200 ports Stack of 2 x Cisco WS-C3850-24P, cat3k_caa-universalk9.SPA.03.06.03.E.152-2.E3.bin, 56 ports Stack of 2 x Cisco WS-C3650-24PS, cat3k_caa-universalk9.16.03.05b.SPA.bin, 56 ports Stack of 3 x Cisco WS-C3850-24P, cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin, 80 ports Stack of 2 x Cisco WS-C3850-48P, cat3k_caa-universalk9.SPA.03.06.03.E.152-2.E3.bin, 104 ports Regards, From heas at shrubbery.net Fri May 4 14:51:56 2018 From: heas at shrubbery.net (heasley) Date: Fri, 4 May 2018 14:51:56 +0000 Subject: [rancid] Cisco CPU goes crazy In-Reply-To: <3476852D-C6FD-4C53-86CB-85B5989B32E3@gmail.com> References: <3476852D-C6FD-4C53-86CB-85B5989B32E3@gmail.com> Message-ID: <20180504145155.GB21529@shrubbery.net> Fri, May 04, 2018 at 09:51:54AM -0400, Gerhard Mourani: > Hello, > > Rancid version is 3.7 on Linux. > > When Rancid logs on to the Cisco switches listed bellow, the CPU goes crazy for a few seconds which causes some processes like OSPF to converge. suppose you're hitting a IOS bug. figure-out which command causes the high cpu usage and open a ticket with cisco. > Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 316 ports > Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 124 ports > Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 200 ports > Stack of 2 x Cisco WS-C3850-24P, cat3k_caa-universalk9.SPA.03.06.03.E.152-2.E3.bin, 56 ports > Stack of 2 x Cisco WS-C3650-24PS, cat3k_caa-universalk9.16.03.05b.SPA.bin, 56 ports > Stack of 3 x Cisco WS-C3850-24P, cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin, 80 ports > Stack of 2 x Cisco WS-C3850-48P, cat3k_caa-universalk9.SPA.03.06.03.E.152-2.E3.bin, 104 ports > > Regards, > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss From heas at shrubbery.net Fri May 4 15:09:15 2018 From: heas at shrubbery.net (heasley) Date: Fri, 4 May 2018 15:09:15 +0000 Subject: [rancid] Cisco CPU goes crazy In-Reply-To: <3C2FC15F-E689-4101-8404-8F3CE62AB5C0@gmail.com> References: <3476852D-C6FD-4C53-86CB-85B5989B32E3@gmail.com> <20180504145155.GB21529@shrubbery.net> <3C2FC15F-E689-4101-8404-8F3CE62AB5C0@gmail.com> Message-ID: <20180504150915.GE21529@shrubbery.net> Fri, May 04, 2018 at 11:00:02AM -0400, Gerhard Mourani: > How to know which command causes it with rancid ? try each of the commands rancid uses. rancid -t cisco -C From gmourani at gmail.com Fri May 4 15:00:02 2018 From: gmourani at gmail.com (Gerhard Mourani) Date: Fri, 4 May 2018 11:00:02 -0400 Subject: [rancid] Cisco CPU goes crazy In-Reply-To: <20180504145155.GB21529@shrubbery.net> References: <3476852D-C6FD-4C53-86CB-85B5989B32E3@gmail.com> <20180504145155.GB21529@shrubbery.net> Message-ID: <3C2FC15F-E689-4101-8404-8F3CE62AB5C0@gmail.com> Hello, Thanks for the reply. How to know which command causes it with rancid ? Regards, > On May 4, 2018, at 10:51 AM, heasley wrote: > > Fri, May 04, 2018 at 09:51:54AM -0400, Gerhard Mourani: >> Hello, >> >> Rancid version is 3.7 on Linux. >> >> When Rancid logs on to the Cisco switches listed bellow, the CPU goes crazy for a few seconds which causes some processes like OSPF to converge. > > suppose you're hitting a IOS bug. figure-out which command causes the > high cpu usage and open a ticket with cisco. > >> Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 316 ports >> Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 124 ports >> Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 200 ports >> Stack of 2 x Cisco WS-C3850-24P, cat3k_caa-universalk9.SPA.03.06.03.E.152-2.E3.bin, 56 ports >> Stack of 2 x Cisco WS-C3650-24PS, cat3k_caa-universalk9.16.03.05b.SPA.bin, 56 ports >> Stack of 3 x Cisco WS-C3850-24P, cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin, 80 ports >> Stack of 2 x Cisco WS-C3850-48P, cat3k_caa-universalk9.SPA.03.06.03.E.152-2.E3.bin, 104 ports >> >> Regards, >> _______________________________________________ >> Rancid-discuss mailing list >> Rancid-discuss at shrubbery.net >> http://www.shrubbery.net/mailman/listinfo/rancid-discuss From doug.hughes at keystonenap.com Fri May 4 16:11:02 2018 From: doug.hughes at keystonenap.com (Doug Hughes) Date: Fri, 4 May 2018 12:11:02 -0400 Subject: [rancid] Cisco CPU goes crazy In-Reply-To: <3C2FC15F-E689-4101-8404-8F3CE62AB5C0@gmail.com> References: <3476852D-C6FD-4C53-86CB-85B5989B32E3@gmail.com> <20180504145155.GB21529@shrubbery.net> <3C2FC15F-E689-4101-8404-8F3CE62AB5C0@gmail.com> Message-ID: Cisco can help you with this. You'd have another window open looking at the process table information at the time that rancid is running. They have a continuous mode. On 5/4/2018 11:00 AM, Gerhard Mourani wrote: > Hello, > > Thanks for the reply. > How to know which command causes it with rancid ? > > Regards, > >> On May 4, 2018, at 10:51 AM, heasley wrote: >> >> Fri, May 04, 2018 at 09:51:54AM -0400, Gerhard Mourani: >>> Hello, >>> >>> Rancid version is 3.7 on Linux. >>> >>> When Rancid logs on to the Cisco switches listed bellow, the CPU goes crazy for a few seconds which causes some processes like OSPF to converge. >> suppose you're hitting a IOS bug. figure-out which command causes the >> high cpu usage and open a ticket with cisco. >> >>> Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 316 ports >>> Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 124 ports >>> Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 200 ports >>> Stack of 2 x Cisco WS-C3850-24P, cat3k_caa-universalk9.SPA.03.06.03.E.152-2.E3.bin, 56 ports >>> Stack of 2 x Cisco WS-C3650-24PS, cat3k_caa-universalk9.16.03.05b.SPA.bin, 56 ports >>> Stack of 3 x Cisco WS-C3850-24P, cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin, 80 ports >>> Stack of 2 x Cisco WS-C3850-48P, cat3k_caa-universalk9.SPA.03.06.03.E.152-2.E3.bin, 104 ports >>> >>> Regards, >>> _______________________________________________ >>> Rancid-discuss mailing list >>> Rancid-discuss at shrubbery.net >>> http://www.shrubbery.net/mailman/listinfo/rancid-discuss > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss -- Doug Hughes Keystone NAP Fairless Hills, PA 1.844.KEYBLOCK (539.2562) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: keystone-nap.png Type: image/png Size: 3476 bytes Desc: not available URL: From heas at shrubbery.net Fri May 4 18:50:17 2018 From: heas at shrubbery.net (heasley) Date: Fri, 4 May 2018 18:50:17 +0000 Subject: [rancid] clogin adding 'exit' command? In-Reply-To: References: <20180503163826.GA80287@shrubbery.net> Message-ID: <20180504185017.GB23383@shrubbery.net> Thu, May 03, 2018 at 06:39:55PM +0100, Howard Jones: > Aha, thanks! That's much neater than my bodge (make an f5login and > remove the conditional for send quit/exit). > > For anyone else, heasley's clogin patch above, plus this new type got me going: great. i'll commit it if i dont find any issues with it locally. > bigip13;script;rancid -t bigip13 > bigip13;login;clogin > bigip13;module;bigip > bigip13;inloop;bigip::inloop > bigip13;command;rancid::RunCommand;modify cli preference pager > disabled display-threshold 0 > bigip13;command;bigip::ShowVersion;show sys version > bigip13;command;bigip::ShowHardware;show sys hardware > bigip13;command;bigip::ShowLicense;show sys license > bigip13;command;bigip::ShowRouteStatic;show /net route static > bigip13;command;bigip::WriteTerm;list all-properties recursive From howie at thingy.com Fri May 4 18:52:28 2018 From: howie at thingy.com (Howard Jones) Date: Fri, 4 May 2018 19:52:28 +0100 Subject: [rancid] clogin adding 'exit' command? In-Reply-To: References: <20180503163826.GA80287@shrubbery.net> Message-ID: On 3 May 2018 at 18:39, Howard Jones wrote: > Aha, thanks! That's much neater than my bodge (make an f5login and > remove the conditional for send quit/exit). > > For anyone else, heasley's clogin patch above, plus this new type got me going: > > bigip13;script;rancid -t bigip13 > bigip13;login;clogin > bigip13;module;bigip > bigip13;inloop;bigip::inloop > bigip13;command;rancid::RunCommand;modify cli preference pager disabled display-threshold 0 > bigip13;command;bigip::ShowVersion;show sys version > bigip13;command;bigip::ShowHardware;show sys hardware > bigip13;command;bigip::ShowLicense;show sys license > bigip13;command;bigip::ShowRouteStatic;show /net route static > bigip13;command;bigip::WriteTerm;list all-properties recursive I've just noticed that although if I run `rancid-run -r lb01` I get a successful collection, I don't get one during a normal hourly run (rancid-run with no params) lb01: missed cmd(s): all commands lb01: End of run not found (and also its buddy lb02) Both cases running as the same `rancid` user, which owns the files, so it doesn't appear to be permissions related. Every other device is running smoothly. Is there some way to either keep the .new file or increase logging from rancid-run (like rancid -d)? From weylin at bu.edu Fri May 4 21:00:42 2018 From: weylin at bu.edu (Piegorsch, Weylin William) Date: Fri, 4 May 2018 21:00:42 +0000 Subject: [rancid] Cisco CPU goes crazy In-Reply-To: References: <3476852D-C6FD-4C53-86CB-85B5989B32E3@gmail.com> <20180504145155.GB21529@shrubbery.net> <3C2FC15F-E689-4101-8404-8F3CE62AB5C0@gmail.com> Message-ID: <498E94ED-3F3C-4C3A-AF71-6207DE09F9D8@bu.edu> If you have AAA accounting configured, you can see the commands in the accounting logs. See also the command ?show history all | begin rancid? (my rancid username in AAA is ?rancid? and my rancid version is 3.4, so you might see different output). weylin cumm111-b17des01#sh ver | inc ^\* * 1 56 WS-C3850-48P 03.07.00E cat3k_caa-universalk9 INSTALL cumm111-b17des01#sh history all | beg rancid May 4 16:24:45.760 EDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:rancid logged command:!exec: enable CMD: 'terminal length 0' 16:24:45 EDT Fri May 4 2018 CMD: 'terminal width 132' 16:24:46 EDT Fri May 4 2018 CMD: 'show version' 16:24:46 EDT Fri May 4 2018 CMD: 'show redundancy secondary' 16:24:46 EDT Fri May 4 2018 CMD: 'show idprom backplane' 16:24:46 EDT Fri May 4 2018 CMD: 'show install active' 16:24:46 EDT Fri May 4 2018 CMD: 'show env all' 16:24:46 EDT Fri May 4 2018 CMD: 'show rsp chassis-info' 16:24:47 EDT Fri May 4 2018 CMD: 'show gsr chassis' 16:24:47 EDT Fri May 4 2018 CMD: 'show diag chassis-info' 16:24:47 EDT Fri May 4 2018 CMD: 'show boot' 16:24:47 EDT Fri May 4 2018 CMD: 'show bootvar' 16:24:47 EDT Fri May 4 2018 CMD: 'show variables boot' 16:24:47 EDT Fri May 4 2018 CMD: 'show license udi' 16:24:47 EDT Fri May 4 2018 CMD: 'show license feature' 16:24:47 EDT Fri May 4 2018 CMD: 'show license' 16:24:47 EDT Fri May 4 2018 CMD: 'show activation-key' 16:24:47 EDT Fri May 4 2018 CMD: 'show flash' 16:24:47 EDT Fri May 4 2018 CMD: 'dir /all nvram:' 16:24:47 EDT Fri May 4 2018 CMD: 'dir /all bootflash:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slot0:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all disk0:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slot1:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all disk1:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slot2:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all disk2:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all harddisk:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all harddiska:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all harddiskb:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sup-bootdisk:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sup-bootflash:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sup-microcode:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slavenvram:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slavebootflash:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slaveslot0:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slavedisk0:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slaveslot1:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slavedisk1:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slaveslot2:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slavedisk2:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all slavesup-bootflash:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sec-nvram:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sec-bootflash:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sec-slot0:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sec-disk0:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sec-slot1:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sec-disk1:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sec-slot2:' 16:24:48 EDT Fri May 4 2018 CMD: 'dir /all sec-disk2:' 16:24:48 EDT Fri May 4 2018 CMD: 'show controllers' 16:24:48 EDT Fri May 4 2018 CMD: 'show controllers cbus' 16:24:49 EDT Fri May 4 2018 CMD: 'show diagbus' 16:24:49 EDT Fri May 4 2018 CMD: 'show diag' 16:24:49 EDT Fri May 4 2018 CMD: 'show capture' 16:24:49 EDT Fri May 4 2018 CMD: 'show module' 16:24:49 EDT Fri May 4 2018 CMD: 'show spe version' 16:24:49 EDT Fri May 4 2018 CMD: 'show c7200' 16:24:49 EDT Fri May 4 2018 CMD: 'show cellular 0 profile' 16:24:49 EDT Fri May 4 2018 CMD: 'show inventory raw' 16:24:49 EDT Fri May 4 2018 CMD: 'show vtp status' 16:24:50 EDT Fri May 4 2018 CMD: 'show vlan' 16:24:50 EDT Fri May 4 2018 CMD: 'show vlan-switch' 16:24:50 EDT Fri May 4 2018 CMD: 'show switch detail' 16:24:50 EDT Fri May 4 2018 CMD: 'show sdm prefer' 16:24:50 EDT Fri May 4 2018 CMD: 'show system mtu' 16:24:51 EDT Fri May 4 2018 CMD: 'show debug' 16:24:51 EDT Fri May 4 2018 CMD: 'show shun' 16:24:51 EDT Fri May 4 2018 CMD: 'more system:running-config' 16:25:00 EDT Fri May 4 2018 CMD: 'show running-config view full' 16:25:09 EDT Fri May 4 2018 CMD: 'show running-config' 16:25:18 EDT Fri May 4 2018 CMD: 'write term' 16:25:27 EDT Fri May 4 2018 CMD: 'exit' 16:25:36 EDT Fri May 4 2018 CMD: 'en' 16:53:32 EDT Fri May 4 2018 May 4 16:53:34.519 EDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:weylin logged command:!exec: enable failed CMD: 'en' 16:53:36 EDT Fri May 4 2018 May 4 16:53:37.971 EDT: %PARSER-5-CFGLOG_LOGGEDCMD: User:weylin logged command:!exec: enable CMD: 'sh ver' 16:53:40 EDT Fri May 4 2018 CMD: 'sh ver | inc ^\*' 16:53:52 EDT Fri May 4 2018 CMD: 'sh run' 16:54:02 EDT Fri May 4 2018 CMD: 'sh ver | inc ^\*' 16:54:15 EDT Fri May 4 2018 CMD: 'sh run | sec ^archive' 16:54:21 EDT Fri May 4 2018 CMD: 'sh archive log config all' 16:54:41 EDT Fri May 4 2018 CMD: 'sh archive log config all | exclude exec enable' 16:54:56 EDT Fri May 4 2018 CMD: 'sh archive log config all | exclude exec: enable' 16:55:05 EDT Fri May 4 2018 CMD: 'sh archive log config all' 16:55:17 EDT Fri May 4 2018 CMD: 'sh logg' 16:55:30 EDT Fri May 4 2018 CMD: 'sh history ' 16:55:49 EDT Fri May 4 2018 CMD: 'sh history all' 16:55:53 EDT Fri May 4 2018 CMD: 'sh history all' 16:57:02 EDT Fri May 4 2018 CMD: 'sh history all | beg rancid' 16:57:34 EDT Fri May 4 2018 cumm111-b17des01# weylin From: Doug Hughes Date: Friday, May 4, 2018 at 12:11 PM To: Subject: Re: [rancid] Cisco CPU goes crazy Cisco can help you with this. You'd have another window open looking at the process table information at the time that rancid is running. They have a continuous mode. On 5/4/2018 11:00 AM, Gerhard Mourani wrote: Hello, Thanks for the reply. How to know which command causes it with rancid ? Regards, On May 4, 2018, at 10:51 AM, heasley wrote: Fri, May 04, 2018 at 09:51:54AM -0400, Gerhard Mourani: Hello, Rancid version is 3.7 on Linux. When Rancid logs on to the Cisco switches listed bellow, the CPU goes crazy for a few seconds which causes some processes like OSPF to converge. suppose you're hitting a IOS bug. figure-out which command causes the high cpu usage and open a ticket with cisco. Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 316 ports Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 124 ports Cisco WS-C4510R+E, cat4500e-universalk9.SPA.03.07.03.E.152-3.E3.bin, 200 ports Stack of 2 x Cisco WS-C3850-24P, cat3k_caa-universalk9.SPA.03.06.03.E.152-2.E3.bin, 56 ports Stack of 2 x Cisco WS-C3650-24PS, cat3k_caa-universalk9.16.03.05b.SPA.bin, 56 ports Stack of 3 x Cisco WS-C3850-24P, cat3k_caa-universalk9.SPA.03.07.05.E.152-3.E5.bin, 80 ports Stack of 2 x Cisco WS-C3850-48P, cat3k_caa-universalk9.SPA.03.06.03.E.152-2.E3.bin, 104 ports Regards, _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss _______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss -- Doug Hughes Keystone NAP Fairless Hills, PA 1.844.KEYBLOCK (539.2562) [cid:part1.F6EFCE0B.7B0068D5 at keystonenap.com] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3477 bytes Desc: image001.png URL: From heas at shrubbery.net Fri May 4 22:01:24 2018 From: heas at shrubbery.net (heasley) Date: Fri, 4 May 2018 22:01:24 +0000 Subject: [rancid] clogin adding 'exit' command? In-Reply-To: References: <20180503163826.GA80287@shrubbery.net> Message-ID: <20180504220124.GD79943@shrubbery.net> Fri, May 04, 2018 at 07:52:28PM +0100, Howard Jones: > On 3 May 2018 at 18:39, Howard Jones wrote: > > Aha, thanks! That's much neater than my bodge (make an f5login and > > remove the conditional for send quit/exit). > > > > For anyone else, heasley's clogin patch above, plus this new type got me going: > > > > bigip13;script;rancid -t bigip13 > > bigip13;login;clogin > > bigip13;module;bigip > > bigip13;inloop;bigip::inloop > > bigip13;command;rancid::RunCommand;modify cli preference pager disabled display-threshold 0 > > bigip13;command;bigip::ShowVersion;show sys version > > bigip13;command;bigip::ShowHardware;show sys hardware > > bigip13;command;bigip::ShowLicense;show sys license > > bigip13;command;bigip::ShowRouteStatic;show /net route static > > bigip13;command;bigip::WriteTerm;list all-properties recursive > > I've just noticed that although if I run `rancid-run -r lb01` I get a > successful collection, I don't get one during a normal hourly run > (rancid-run with no params) > > lb01: missed cmd(s): all commands > lb01: End of run not found > > (and also its buddy lb02) Both cases running as the same `rancid` > user, which owns the files, so it doesn't appear to be permissions > related. Every other device is running smoothly. > > Is there some way to either keep the .new file or increase logging > from rancid-run (like rancid -d)? no; I've needed this in the past, but I wanted to keep the .raw. perhaps first try just a cronjob. . etc/rancid.conf; export NOPIPE=YES; rancid -d -t bigip13 host From on at LEFerguson.com Wed May 16 13:25:25 2018 From: on at LEFerguson.com (on at LEFerguson.com) Date: Wed, 16 May 2018 13:25:25 +0000 Subject: [rancid] Rancid and Netgear switches Message-ID: 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 From rancid at ale.cx Wed May 16 13:40:30 2018 From: rancid at ale.cx (Alex DEKKER) Date: Wed, 16 May 2018 14:40:30 +0100 Subject: [rancid] Rancid and Netgear switches In-Reply-To: References: Message-ID: If you post a snippet of config, somebody might recognise what ODM makes the switches. alexd On 16/05/18 14:25, on at 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 at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > From on at LEFerguson.com Wed May 16 13:50:34 2018 From: on at LEFerguson.com (on at LEFerguson.com) Date: Wed, 16 May 2018 13:50:34 +0000 Subject: [rancid] Rancid and Netgear switches In-Reply-To: References: Message-ID: > If you post a snippet of config, somebody might recognise what ODM makes the switches. Sure, thanks. The login is User: Password: The not-enabled prompt is the model in parenthesis (M4100-26G) > The enable prompt (no password required, at least as we are set up): (M4100-26G) # A "terminal length 0" will disable paging or the prompt looks like " --More-- or (q)uit". The config is exceptionally cisco-like, here's one redacted a bit: !Current Configuration: ! !System Description "M4100-26G ProSafe 24-port Gigabit L2+ Intelligent Edge Managed Switch, 10.0.2.26, B1.0.1.1" !System Software Version "10.0.2.26" !System Up Time "0 days 15 hrs 57 mins 20 secs" !Additional Packages QOS,IPv6 Management,Routing !Current SNTP Synchronized Time: SNTP Client Mode Is Disabled ! vlan database vlan 150,153,158,161,163,169-172,192,300,2135,4080-4081 vlan name 150 "stuff" vlan name 153 "more stuff" .... no vlan routing 1 vlan routing 192 1 exit network mgmt_vlan 192 configure no sntp client mode sntp server "192.168.1.129" clock summer-time recurring USA offset 1 time-range ip name server 192.168.0.1 no ip routing ip default-gateway 192.168.1.129 username "admin" password stuff level 15 encrypted line console serial timeout 15 exit line telnet exit line ssh exit snmp-server sysname "something" snmp-server location "somewhere" ! snmp-server community "something" snmp-server community ipaddr 192.168.1.143 something snmp-server community ipmask 255.255.255.255 something no snmp-server community public no snmp-server community private interface 0/1 description 'Local switch access' switchport mode access switchport access vlan 192 switchport trunk allowed vlan 192 vlan participation auto 1 vlan tagging 192 lldp notification exit interface 0/2 description 'something' switchport mode access switchport access vlan 192 switchport trunk allowed vlan 192 vlan participation auto 1 lldp notification exit interface 0/3 description 'something' switchport mode access switchport access vlan 192 switchport trunk allowed vlan 192 vlan participation auto 1 lldp notification exit ....... interface vlan 192 routing ip address 192.168.1.210 255.255.255.128 exit ip management vlan 192 exit From rancid at ale.cx Wed May 16 16:34:26 2018 From: rancid at ale.cx (Alex DEKKER) Date: Wed, 16 May 2018 17:34:26 +0100 Subject: [rancid] Rancid and Netgear switches In-Reply-To: References: Message-ID: <327f05d0-15b5-785a-5299-8afe572ff7fc@ale.cx> On 16/05/18 14:50, on at LEFerguson.com wrote: >> If you post a snippet of config, somebody might recognise what ODM makes the switches. > Sure, thanks. The login is > > User: > Password: > > The not-enabled prompt is the model in parenthesis > > (M4100-26G) > > > The enable prompt (no password required, at least as we are set up): > > (M4100-26G) # > > A "terminal length 0" will disable paging or the prompt looks like " --More-- or (q)uit". > > The config is exceptionally cisco-like, here's one redacted a bit: > > !Current Configuration: > ! > !System Description "M4100-26G ProSafe 24-port Gigabit L2+ Intelligent Edge Managed Switch, 10.0.2.26, B1.0.1.1" > !System Software Version "10.0.2.26" > !System Up Time "0 days 15 hrs 57 mins 20 secs" > !Additional Packages QOS,IPv6 Management,Routing > !Current SNTP Synchronized Time: SNTP Client Mode Is Disabled > 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 alexd From on at LEFerguson.com Wed May 16 17:08:04 2018 From: on at LEFerguson.com (on at LEFerguson.com) Date: Wed, 16 May 2018 17:08:04 +0000 Subject: [rancid] Rancid and Netgear switches In-Reply-To: <327f05d0-15b5-785a-5299-8afe572ff7fc@ale.cx> References: <327f05d0-15b5-785a-5299-8afe572ff7fc@ale.cx> Message-ID: > 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 From heas at shrubbery.net Thu May 17 01:14:09 2018 From: heas at shrubbery.net (heasley) Date: Thu, 17 May 2018 01:14:09 +0000 Subject: [rancid] Rancid and Netgear switches In-Reply-To: References: <327f05d0-15b5-785a-5299-8afe572ff7fc@ale.cx> Message-ID: <20180517011409.GM36913@shrubbery.net> Wed, May 16, 2018 at 05:08:04PM +0000, on at 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"} From on at LEFerguson.com Thu May 17 02:28:20 2018 From: on at LEFerguson.com (on at LEFerguson.com) Date: Thu, 17 May 2018 02:28:20 +0000 Subject: [rancid] Rancid and Netgear switches In-Reply-To: <20180517011409.GM36913@shrubbery.net> References: <327f05d0-15b5-785a-5299-8afe572ff7fc@ale.cx> <20180517011409.GM36913@shrubbery.net> Message-ID: Thanks. I ended up patching the dllogin.pm and dllogin scripts, mostly to localize my changes. The issue I found that made me do it a bit differently is that it appears these switches are instantly disconnecting, without echoing the logout command or showing a prompt, so I just treat eof as OK if the command completes OK. I think I have it running, I just did a show config, hopefully everything is really in there. Appreciate the pointers. Linwood -----Original Message----- From: heasley [mailto:heas at shrubbery.net] Sent: Wednesday, May 16, 2018 9:14 PM To: on at LEFerguson.com Cc: Alex DEKKER ; rancid-discuss at shrubbery.net Subject: Re: [rancid] Rancid and Netgear switches Wed, May 16, 2018 at 05:08:04PM +0000, on at 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"} From Chris.Davis at principia.edu Thu May 17 19:28:28 2018 From: Chris.Davis at principia.edu (Chris Davis) Date: Thu, 17 May 2018 19:28:28 +0000 Subject: [rancid] Couple of very general questions. Message-ID: <5DF2D457-EF12-4A85-BB79-1C38697B740E@principia.edu> We are looking at jumping off our current switch platform for a number of annoying reasons and are considering a couple of options for replacement. I use Rancid pretty heavily and I wondered if I could get some feedback on how Rancid works with those vendors (it seems there's support, but the devil is in the details) from people using the equipment. We're looking at Fortinet switches, as we use their firewalls. I have Rancid well integrated with the firewalls and as I understand it, the switches are downloaded from the firewalls when in linked mode. Do the switch configs get uploaded to rancid as part of the firewall's configuration backup? Or do you have to somehow interrogate each switch separately like we do for our current switches? The other option we're looking at is Extreme. I see that it is managed by the standard clogin (according to the Rancid docs) and just wondered if there was anything to be aware of with interfacing to their gear. Thanks. Just wanted to get a more accurate understanding of the level of support for these two device families. Detailed responses are welcome to use email. Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Thu May 17 21:53:06 2018 From: heas at shrubbery.net (heasley) Date: Thu, 17 May 2018 21:53:06 +0000 Subject: [rancid] Couple of very general questions. In-Reply-To: <5DF2D457-EF12-4A85-BB79-1C38697B740E@principia.edu> References: <5DF2D457-EF12-4A85-BB79-1C38697B740E@principia.edu> Message-ID: <20180517215305.GF87179@shrubbery.net> Thu, May 17, 2018 at 07:28:28PM +0000, Chris Davis: > We are looking at jumping off our current switch platform for a number of annoying reasons and are considering a couple of options for replacement. I use Rancid pretty heavily and I wondered if I could get some feedback on how Rancid works with those vendors (it seems there's support, but the devil is in the details) from people using the equipment. > > We're looking at Fortinet switches, as we use their firewalls. I have Rancid well integrated with the firewalls and as I understand it, the switches are downloaded from the firewalls when in linked mode. Do the switch configs get uploaded to rancid as part of the firewall's configuration backup? Or do you have to somehow interrogate each switch separately like we do for our current switches? > > The other option we're looking at is Extreme. I see that it is managed by the standard clogin (according to the Rancid docs) and just wondered if there was anything to be aware of with interfacing to their gear. I can't comment on fortinet, but the extreme ought to work. however, it has been at least a year since I've had feed back about one. Also, recommend considering juniper and arista. From doug.hughes at keystonenap.com Thu May 17 22:04:02 2018 From: doug.hughes at keystonenap.com (Doug Hughes) Date: Thu, 17 May 2018 18:04:02 -0400 Subject: [rancid] Couple of very general questions. In-Reply-To: <20180517215305.GF87179@shrubbery.net> References: <5DF2D457-EF12-4A85-BB79-1C38697B740E@principia.edu> <20180517215305.GF87179@shrubbery.net> Message-ID: If you have a cli access to the switches and can dump the config, then it should be very possible to do with the switches. I've done that with PaloAlto, the Fortinet Routers, and Ubiquiti stuff. It's not so hard. Summary: If it doesn't work in Rancid, it's usually not hard to make it work (again). > Thu, May 17, 2018 at 07:28:28PM +0000, Chris Davis: >> We are looking at jumping off our current switch platform for a number of annoying reasons and are considering a couple of options for replacement. I use Rancid pretty heavily and I wondered if I could get some feedback on how Rancid works with those vendors (it seems there's support, but the devil is in the details) from people using the equipment. >> >> We're looking at Fortinet switches, as we use their firewalls. I have Rancid well integrated with the firewalls and as I understand it, the switches are downloaded from the firewalls when in linked mode. Do the switch configs get uploaded to rancid as part of the firewall's configuration backup? Or do you have to somehow interrogate each switch separately like we do for our current switches? >> >> The other option we're looking at is Extreme. I see that it is managed by the standard clogin (according to the Rancid docs) and just wondered if there was anything to be aware of with interfacing to their gear. >> >> >> Also, recommend considering juniper and arista. >> >> _______________________________________________ >> Rancid-discuss mailing list >> Rancid-discuss at shrubbery.net >> http://www.shrubbery.net/mailman/listinfo/rancid-discuss -- Doug Hughes Keystone NAP Fairless Hills, PA 1.844.KEYBLOCK (539.2562) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: keystone-nap.png Type: image/png Size: 3476 bytes Desc: not available URL: From jandrewartha at ccgs.wa.edu.au Fri May 18 01:31:21 2018 From: jandrewartha at ccgs.wa.edu.au (James Andrewartha) Date: Fri, 18 May 2018 09:31:21 +0800 Subject: [rancid] Couple of very general questions. In-Reply-To: <20180517215305.GF87179@shrubbery.net> References: <5DF2D457-EF12-4A85-BB79-1C38697B740E@principia.edu> <20180517215305.GF87179@shrubbery.net> Message-ID: <07c7aaca-ee42-c146-0e6b-0728740bede1@ccgs.wa.edu.au> On 18/05/18 05:53, heasley wrote: >> The other option we're looking at is Extreme. I see that it is managed by the standard clogin (according to the Rancid docs) and just wondered if there was anything to be aware of with interfacing to their gear. > > I can't comment on fortinet, but the extreme ought to work. however, it has > been at least a year since I've had feed back about one. I have newish Extreme switches (X440-G2 running XOS 22.4) and they work fine with rancid. The only problem I have is sometimes the commands show up in the output, eg: #Slot 1: state # + show configuration + # # Module devmgr configuration. I am using rancid 2.3.8 (yes, I know, I'm still running Debian jessie) but I grabbed the most recent xrancid that wasn't modularised ($Id: xrancid.in 3018 2015-01-11 05:51:49Z heas $) and it didn't fix the problem. I didn't think about upgrading clogin though. Is that likely to help or should I just look at upgrading rancid entirely to get the modular xrancid with xlogin? Thanks, -- James Andrewartha Network & Projects Engineer Christ Church Grammar School Claremont, Western Australia Ph. (08) 9442 1757 Mob. 0424 160 877 From heas at shrubbery.net Fri May 18 01:35:21 2018 From: heas at shrubbery.net (heasley) Date: Fri, 18 May 2018 01:35:21 +0000 Subject: [rancid] Couple of very general questions. In-Reply-To: <07c7aaca-ee42-c146-0e6b-0728740bede1@ccgs.wa.edu.au> References: <5DF2D457-EF12-4A85-BB79-1C38697B740E@principia.edu> <20180517215305.GF87179@shrubbery.net> <07c7aaca-ee42-c146-0e6b-0728740bede1@ccgs.wa.edu.au> Message-ID: <20180518013521.GC87179@shrubbery.net> Fri, May 18, 2018 at 09:31:21AM +0800, James Andrewartha: > On 18/05/18 05:53, heasley wrote: > >> The other option we're looking at is Extreme. I see that it is managed by the standard clogin (according to the Rancid docs) and just wondered if there was anything to be aware of with interfacing to their gear. > > > > I can't comment on fortinet, but the extreme ought to work. however, it has > > been at least a year since I've had feed back about one. > > I have newish Extreme switches (X440-G2 running XOS 22.4) and they work > fine with rancid. The only problem I have is sometimes the commands show > up in the output, eg: > > #Slot 1: state > # > + show configuration > + # that implies to me that clogin is out of sync with cli. Its likely that you need the xlogin; I can give you a complete one, and you just have to update paths and such. > # Module devmgr configuration. > > I am using rancid 2.3.8 (yes, I know, I'm still running Debian jessie) > but I grabbed the most recent xrancid that wasn't modularised ($Id: > xrancid.in 3018 2015-01-11 05:51:49Z heas $) and it didn't fix the > problem. I didn't think about upgrading clogin though. Is that likely to > help or should I just look at upgrading rancid entirely to get the > modular xrancid with xlogin? > > Thanks, > > -- > James Andrewartha > Network & Projects Engineer > Christ Church Grammar School > Claremont, Western Australia > Ph. (08) 9442 1757 > Mob. 0424 160 877 > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss From jandrewartha at ccgs.wa.edu.au Fri May 18 01:40:44 2018 From: jandrewartha at ccgs.wa.edu.au (James Andrewartha) Date: Fri, 18 May 2018 09:40:44 +0800 Subject: [rancid] Couple of very general questions. In-Reply-To: <20180518013521.GC87179@shrubbery.net> References: <5DF2D457-EF12-4A85-BB79-1C38697B740E@principia.edu> <20180517215305.GF87179@shrubbery.net> <07c7aaca-ee42-c146-0e6b-0728740bede1@ccgs.wa.edu.au> <20180518013521.GC87179@shrubbery.net> Message-ID: On 18/05/18 09:35, heasley wrote: > Fri, May 18, 2018 at 09:31:21AM +0800, James Andrewartha: >> I have newish Extreme switches (X440-G2 running XOS 22.4) and they work >> fine with rancid. The only problem I have is sometimes the commands show >> up in the output, eg: >> >> #Slot 1: state >> # >> + show configuration >> + # > > that implies to me that clogin is out of sync with cli. Its likely > that you need the xlogin; I can give you a complete one, and you just > have to update paths and such. That would be fantastic, thanks. -- James Andrewartha Network & Projects Engineer Christ Church Grammar School Claremont, Western Australia Ph. (08) 9442 1757 Mob. 0424 160 877 From nandha0519 at gmail.com Mon May 21 07:33:43 2018 From: nandha0519 at gmail.com (Nanda Kumar Arumugam) Date: Mon, 21 May 2018 00:33:43 -0700 (PDT) Subject: [rancid] Rancid CLogin + Invalid login Message-ID: <60f7e8e8-4b3d-4845-a552-c1ac6c0e9848@googlegroups.com> Hi I have tried through to check the clogin, but i am not able getting a error with Login Invalid. Please help me on this, i have checked with my config, but i dont feel there is any error -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Mon May 21 14:11:15 2018 From: heas at shrubbery.net (heasley) Date: Mon, 21 May 2018 14:11:15 +0000 Subject: [rancid] Rancid CLogin + Invalid login In-Reply-To: <60f7e8e8-4b3d-4845-a552-c1ac6c0e9848@googlegroups.com> References: <60f7e8e8-4b3d-4845-a552-c1ac6c0e9848@googlegroups.com> Message-ID: <20180521141114.GB91507@shrubbery.net> Mon, May 21, 2018 at 12:33:43AM -0700, Nanda Kumar Arumugam: > Hi I have tried through to check the clogin, but i am not able getting a > error with Login Invalid. > > Please help me on this, i have checked with my config, but i dont feel > there is any error make sure that it actually using the credentials that you think it is with the -[Mm] options. also make sure you are using the correct script for the device. finally, post a transcript of the your test and failure. you are not providing details. From nandhakumar.a0519 at gmail.com Thu May 24 04:00:35 2018 From: nandhakumar.a0519 at gmail.com (nandhakumar a) Date: Thu, 24 May 2018 12:00:35 +0800 Subject: [rancid] Login Incorrect Message-ID: Hi Team, I am facing the issue, when i am trying to login using clogin, but i am receiving the error "Login Incorrect". Please find the below error /usr/local/rancid/bin/clogin x.x.x.x x.x.x.x spawn telnet x.x.x.x Trying x.x.x.x... Connected to x.x.x.x. Escape character is '^]'. CC******************************************* HostName : Compiled_hostname Hardware : ABCDE IOS version : Version 12.2(55)EX3 SettingDate : 2014/11/11 ModifyDate : Region : Global Country : XXXXXX Owner : abc ******************************************* User Access Verification Username: rancid Password: % Authentication failed With Regards, NandaKumar A -------------- next part -------------- An HTML attachment was scrubbed... URL: From c.o.hopkins at gmail.com Thu May 24 09:57:12 2018 From: c.o.hopkins at gmail.com (Craig Hopkins) Date: Thu, 24 May 2018 10:57:12 +0100 Subject: [rancid] backup issues - A10s and Force10 Message-ID: Hi, Since updating to Debian 9.4 (rancid 3.6.2) I can a10login / clogin to my A10 and Dell Force10 kit but the rancid runs aren't working. The logs for Force10s is Trying to get all of the configs. Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /usr/lib/rancid/bin/drancid line 49. and for the A10s: device.ip.address: End of run not found Any suggestions? Cheers, Craig -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug.hughes at keystonenap.com Fri May 25 20:05:47 2018 From: doug.hughes at keystonenap.com (Doug Hughes) Date: Fri, 25 May 2018 16:05:47 -0400 Subject: [rancid] backup issues - A10s and Force10 In-Reply-To: References: Message-ID: <32abc03f-fba5-3f46-610d-e884ba8615f4@keystonenap.com> drancid? that's interesting. I used f10rancid when I had a whole bunch of S50, S55, S4810, C150, C300, and E600i. On 5/24/2018 5:57 AM, Craig Hopkins wrote: > Hi, > > Since updating to Debian 9.4 (rancid 3.6.2) I can a10login / clogin to > my A10 and Dell Force10 kit but the rancid runs aren't working.? > > The logs for Force10s is? > > Trying to get all of the configs. > Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) > at /usr/lib/rancid/bin/drancid line 49. > > and for the A10s: > > device.ip.address: End of run not found > > Any suggestions? > > Cheers, > > Craig > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss -- Doug Hughes Keystone NAP Fairless Hills, PA 1.844.KEYBLOCK (539.2562) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: keystone-nap.png Type: image/png Size: 3476 bytes Desc: not available URL: From sathish.i at ctrls.in Sun May 27 17:40:26 2018 From: sathish.i at ctrls.in (Sathish Kumar. Ippani) Date: Sun, 27 May 2018 17:40:26 +0000 Subject: [rancid] Dell N4064 Switches Message-ID: Dear All, What device type should I use for Dell N4064 and N1548 Switches. I tried force10 and dell, but it is not working. Regards, Sathish ________________________________ Disclaimer: The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Any unauthorized use, copying or dissemination of this transmission is prohibited. Neither the confidentiality nor the integrity of this message can be vouched for following transmission on the Internet. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 40700 bytes Desc: image001.png URL: From nandhakumar.a0519 at gmail.com Mon May 28 04:47:09 2018 From: nandhakumar.a0519 at gmail.com (nandhakumar a) Date: Mon, 28 May 2018 12:47:09 +0800 Subject: [rancid] Cloginrc file is not working Message-ID: Hi, I have tried to login into the device using clogin, But the user credentials is not working from the .clogin rc. Please take a look on the below example. For Ex: add user 1x.1x.1x.1x user1 add password 1x.1x.1x.1x {userpwd} {$userpwd$} add method 1x.1x.1x.1x telnet ssh When we try to execute > /usr/local/rancid/bin/clogin x.x.x.x > x.x.x.x > spawn telnet x.x.x.x > Trying x.x.x.x... > Connected to x.x.x.x. > Escape character is '^]'. > CC******************************************* > HostName : Compiled_hostname > Hardware : ABCDE > IOS version : Version 12.2(55)EX3 > SettingDate : 2014/11/11 > ModifyDate : > Region : Global > Country : XXXXXX > Owner : abc > ******************************************* > > > User Access Verification > > Username: rancid > Password: Login Invalid I can see that username which is in ,cloginrc and while executing the username is diff, it looks like that the username it takes the server credentials. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sathish.i at ctrls.in Mon May 28 15:46:55 2018 From: sathish.i at ctrls.in (Sathish Kumar. Ippani) Date: Mon, 28 May 2018 15:46:55 +0000 Subject: [rancid] Dell N4064 Switches In-Reply-To: References: Message-ID: Can anyone please suggest, I am stuckup and not able to complete backups for Dell N4064 and N1548 Switches. Regards, Sathish From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Sathish Kumar. Ippani Sent: Sunday, May 27, 2018 11:12 PM To: rancid-discuss at shrubbery.net Subject: [rancid] Dell N4064 Switches Dear All, What device type should I use for Dell N4064 and N1548 Switches. I tried force10 and dell, but it is not working. Regards, Sathish ________________________________ Disclaimer: The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Any unauthorized use, copying or dissemination of this transmission is prohibited. Neither the confidentiality nor the integrity of this message can be vouched for following transmission on the Internet. ________________________________ Disclaimer: The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Any unauthorized use, copying or dissemination of this transmission is prohibited. Neither the confidentiality nor the integrity of this message can be vouched for following transmission on the Internet. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 40700 bytes Desc: image001.png URL: From Charles.Brooks at hbcs.org Mon May 28 15:51:12 2018 From: Charles.Brooks at hbcs.org (Charles T. Brooks) Date: Mon, 28 May 2018 15:51:12 +0000 Subject: [rancid] Cloginrc file is not working In-Reply-To: References: Message-ID: If your passwords contain any non-alphanumeric characters you will need to enclose them in braces. For example, if you have a dollar sign in your password: add user myhost.example.org rancidbackups add password myhost.example.org {$1$3733t$yzdwDjUcpcOafx} Organizations in the USA or EU will fail security audits if telnetd is enabled on network devices., it's best practice not to use 49 year old plaintext protocols, SSH is a better choice (only 23 years old). --Charlie ________________________________ From: Rancid-discuss [rancid-discuss-bounces at shrubbery.net] on behalf of nandhakumar a [nandhakumar.a0519 at gmail.com] Sent: Monday, May 28, 2018 12:47 AM To: rancid-discuss at shrubbery.net Cc: rancid-discuss-request at shrubbery.net Subject: [rancid] Cloginrc file is not working Hi, I have tried to login into the device using clogin, But the user credentials is not working from the .clogin rc. Please take a look on the below example. For Ex: add user 1x.1x.1x.1x user1 add password 1x.1x.1x.1x {userpwd} {$userpwd$} add method 1x.1x.1x.1x telnet ssh When we try to execute > /usr/local/rancid/bin/clogin x.x.x.x > x.x.x.x > spawn telnet x.x.x.x > Trying x.x.x.x... > Connected to x.x.x.x. > Escape character is '^]'. > CC******************************************* > HostName : Compiled_hostname > Hardware : ABCDE > IOS version : Version 12.2(55)EX3 > SettingDate : 2014/11/11 > ModifyDate : > Region : Global > Country : XXXXXX > Owner : abc > ******************************************* > > > User Access Verification > > Username: rancid > Password: Login Invalid I can see that username which is in ,cloginrc and while executing the username is diff, it looks like that the username it takes the server credentials. ------------------ CONFIDENTIALITY NOTICE --------------- This message, including any attachments, is for the sole use of the intended recipient(s) and may contain privileged confidential information protected by law. Any unauthorized review, use, disclosure or distribution of this message is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of this message. ------------------ CONFIDENTIALITY NOTICE --------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From doug.hughes at keystonenap.com Mon May 28 15:58:46 2018 From: doug.hughes at keystonenap.com (Doug Hughes) Date: Mon, 28 May 2018 11:58:46 -0400 Subject: [rancid] Dell N4064 Switches In-Reply-To: References: Message-ID: <8aa95b45-f3fa-f5fa-a248-d87f67f1c325@keystonenap.com> You should include some diagnostics in your request. for instance, what error message do you get when you run rancid? Have you tried running rancid individually on one of the devices with the -d flag (you can do this with individual rancid or with rancid-run), once you get past that, you can indicate which login command you are using as well. Check the logs, check debug, and post what you find. On 5/28/2018 11:46 AM, Sathish Kumar. Ippani wrote: > > ? > > ? > > Can anyone please suggest, I am stuckup and not able to complete > backups for Dell N4064 and N1548 Switches. > > ? > > ? > > Regards, > > Sathish > > ? > > *From:*Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] > *On Behalf Of *Sathish Kumar. Ippani > *Sent:* Sunday, May 27, 2018 11:12 PM > *To:* rancid-discuss at shrubbery.net > *Subject:* [rancid] Dell N4064 Switches > > ? > > Dear All, > > ? > > What device type should I use for Dell N4064 and N1548 Switches. > > ? > > I tried force10 and dell, but it is not working. > > ? > > ? > > ? > > ? > > ? > > Regards, > > Sathish > > ? > > ------------------------------------------------------------------------ > > Disclaimer: The contents of this e-mail message and any attachments > are confidential and are intended solely for the addressee. If you > have received this transmission in error, please immediately notify > the sender by return e-mail and delete this message and its > attachments. Any unauthorized use, copying or dissemination of this > transmission is prohibited. Neither the confidentiality nor the > integrity of this message can be vouched for following transmission on > the Internet. > > ------------------------------------------------------------------------ > Disclaimer: The contents of this e-mail message and any attachments > are confidential and are intended solely for the addressee. If you > have received this transmission in error, please immediately notify > the sender by return e-mail and delete this message and its > attachments. Any unauthorized use, copying or dissemination of this > transmission is prohibited. Neither the confidentiality nor the > integrity of this message can be vouched for following transmission on > the Internet. > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss -- Doug Hughes Keystone NAP Fairless Hills, PA 1.844.KEYBLOCK (539.2562) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 40700 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: keystone-nap.png Type: image/png Size: 3476 bytes Desc: not available URL: From Charles.Brooks at hbcs.org Mon May 28 16:04:40 2018 From: Charles.Brooks at hbcs.org (Charles T. Brooks) Date: Mon, 28 May 2018 16:04:40 +0000 Subject: [rancid] Dell N4064 Switches In-Reply-To: References: , Message-ID: You are not providing enough information for anyone to help you. You have to describe what happens when you try to use the Dell device type. "It's not working" isn't a useful problem report, see https://www.chiark.greenend.org.uk/~sgtatham/bugs.html It's Memorial Day in the USA so there aren't many US citizens online today. If you provide enough information about the problems you are having and the error messages you are seeing, you will probably get some help tomorrow. --Charlie ________________________________ From: Rancid-discuss [rancid-discuss-bounces at shrubbery.net] on behalf of Sathish Kumar. Ippani [sathish.i at ctrls.in] Sent: Monday, May 28, 2018 11:46 AM To: rancid-discuss at shrubbery.net Subject: Re: [rancid] Dell N4064 Switches Can anyone please suggest, I am stuckup and not able to complete backups for Dell N4064 and N1548 Switches. Regards, Sathish From: Rancid-discuss [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Sathish Kumar. Ippani Sent: Sunday, May 27, 2018 11:12 PM To: rancid-discuss at shrubbery.net Subject: [rancid] Dell N4064 Switches Dear All, What device type should I use for Dell N4064 and N1548 Switches. I tried force10 and dell, but it is not working. Regards, Sathish ________________________________ Disclaimer: The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Any unauthorized use, copying or dissemination of this transmission is prohibited. Neither the confidentiality nor the integrity of this message can be vouched for following transmission on the Internet. ________________________________ Disclaimer: The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Any unauthorized use, copying or dissemination of this transmission is prohibited. Neither the confidentiality nor the integrity of this message can be vouched for following transmission on the Internet. ------------------ CONFIDENTIALITY NOTICE --------------- This message, including any attachments, is for the sole use of the intended recipient(s) and may contain privileged confidential information protected by law. Any unauthorized review, use, disclosure or distribution of this message is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of this message. ------------------ CONFIDENTIALITY NOTICE --------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 40700 bytes Desc: image001.png URL: From weylin at bu.edu Tue May 29 02:06:02 2018 From: weylin at bu.edu (Piegorsch, Weylin William) Date: Tue, 29 May 2018 02:06:02 +0000 Subject: [rancid] Cloginrc file is not working In-Reply-To: References: Message-ID: <519C3FA4-66FB-4FF7-A2F8-32358514E3CE@bu.edu> I notice your .cloginrc defines ?user1? as the login username, but rancid is trying with username ?rancid? - is it possible there might be another matching definition higher in the .cloginrc file, with different credentials? Rancid stops processing at the first possible match. Also, do you have user1 defined as an account in your AAA servers? Or with IOS version 12.2(55)EX3 this is likely a Catalyst switch ? if you don?t have AAA servers defined or if they?re offline/unreachable, then is user1 defined in the local user database? weylin From: nandhakumar a Date: Monday, May 28, 2018 at 12:47 AM To: Cc: Subject: [rancid] Cloginrc file is not working Hi, I have tried to login into the device using clogin, But the user credentials is not working from the .clogin rc. Please take a look on the below example. For Ex: add user 1x.1x.1x.1x user1 add password 1x.1x.1x.1x {userpwd} {$userpwd$} add method 1x.1x.1x.1x telnet ssh When we try to execute > /usr/local/rancid/bin/clogin x.x.x.x > x.x.x.x > spawn telnet x.x.x.x > Trying x.x.x.x... > Connected to x.x.x.x. > Escape character is '^]'. > CC******************************************* > HostName : Compiled_hostname > Hardware : ABCDE > IOS version : Version 12.2(55)EX3 > SettingDate : 2014/11/11 > ModifyDate : > Region : Global > Country : XXXXXX > Owner : abc > ******************************************* > > > User Access Verification > > Username: rancid > Password: Login Invalid I can see that username which is in ,cloginrc and while executing the username is diff, it looks like that the username it takes the server credentials. -------------- next part -------------- An HTML attachment was scrubbed... URL: From c.o.hopkins at gmail.com Tue May 29 13:34:16 2018 From: c.o.hopkins at gmail.com (Craig Hopkins) Date: Tue, 29 May 2018 14:34:16 +0100 Subject: [rancid] backup issues - A10s and Force10 In-Reply-To: References: Message-ID: Hi, Sorry for generating this as a new thread, but I had Digest Mode on so I can't reply to the original. Thanks to Doug Hughes for steering me in the right direction on the Force10s - I'd been using "dell" as the device type, and I guess "force10" took over from that at some point since the last time I updated. I've changed my devices and they're now backing up. Does anybody have a clue about the A10s? "End of run not found" is really not helping me figure out a starting point. Cheers, Craig On 24 May 2018 at 10:57, Craig Hopkins wrote: > Hi, > > Since updating to Debian 9.4 (rancid 3.6.2) I can a10login / clogin to my > A10 and Dell Force10 kit but the rancid runs aren't working. > > The logs for Force10s is > > Trying to get all of the configs. > Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at > /usr/lib/rancid/bin/drancid line 49. > > and for the A10s: > > device.ip.address: End of run not found > > Any suggestions? > > Cheers, > > Craig > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Tue May 29 15:15:15 2018 From: heas at shrubbery.net (heasley) Date: Tue, 29 May 2018 15:15:15 +0000 Subject: [rancid] Cloginrc file is not working In-Reply-To: <519C3FA4-66FB-4FF7-A2F8-32358514E3CE@bu.edu> References: <519C3FA4-66FB-4FF7-A2F8-32358514E3CE@bu.edu> Message-ID: <20180529151515.GC1034@shrubbery.net> Tue, May 29, 2018 at 02:06:02AM +0000, Piegorsch, Weylin William: > I notice your .cloginrc defines ?user1? as the login username, but rancid is trying with username ?rancid? - is it possible there might be another matching definition higher in the .cloginrc file, with different credentials? Rancid stops processing at the first possible match. > > Also, do you have user1 defined as an account in your AAA servers? Or with IOS version 12.2(55)EX3 this is likely a Catalyst switch ? if you don?t have AAA servers defined or if they?re offline/unreachable, then is user1 defined in the local user database? > > weylin I've tried to explain to this user how to use clogin -[Mm] to debug their .cloginrc. I'm apparently not affective. perhaps someone else can try. From doug.hughes at keystonenap.com Tue May 29 17:24:39 2018 From: doug.hughes at keystonenap.com (Doug Hughes) Date: Tue, 29 May 2018 13:24:39 -0400 Subject: [rancid] backup issues - A10s and Force10 In-Reply-To: References: Message-ID: Send in a rancid -d on it rancid -d -t a10 On 5/29/2018 9:34 AM, Craig Hopkins wrote: > Hi, > > Sorry for generating this as a new thread, but I had Digest Mode on so > I can't reply to the original. > > Thanks to?Doug Hughes for steering me in the right direction on the > Force10s - I'd been using "dell" as the device type, and I guess > "force10" took over from that at some point since the last time I > updated. I've changed my devices and they're now backing up.? > > Does anybody have a clue about the A10s? "End of run not found" is > really not helping me figure out a starting point. > > Cheers, > > Craig > > On 24 May 2018 at 10:57, Craig Hopkins > wrote: > > Hi, > > Since updating to Debian 9.4 (rancid 3.6.2) I can a10login / > clogin to my A10 and Dell Force10 kit but the rancid runs aren't > working.? > > The logs for Force10s is? > > Trying to get all of the configs. > Can't use 'defined(%hash)' (Maybe you should just omit the > defined()?) at /usr/lib/rancid/bin/drancid line 49. > > and for the A10s: > > device.ip.address: End of run not found > > Any suggestions? > > Cheers, > > Craig > > > > > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss -- Doug Hughes Keystone NAP Fairless Hills, PA 1.844.KEYBLOCK (539.2562) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: keystone-nap.png Type: image/png Size: 3476 bytes Desc: not available URL: From c.o.hopkins at gmail.com Tue May 29 18:58:13 2018 From: c.o.hopkins at gmail.com (Craig Hopkins) Date: Tue, 29 May 2018 19:58:13 +0100 Subject: [rancid] backup issues - A10s and Force10 In-Reply-To: References: Message-ID: Tried that, thanks. It was trying to do show run without being in enable mode. I hadn't made any changes to our config, so something must have changed inside rancid. Changing the cloginrc config resolved it, so I'm all good now. Thanks for your help. Cheers, Craig On Tue, 29 May 2018 at 18:25, Doug Hughes wrote: > Send in a rancid -d on it > > rancid -d -t a10 > > On 5/29/2018 9:34 AM, Craig Hopkins wrote: > > Hi, > > Sorry for generating this as a new thread, but I had Digest Mode on so I > can't reply to the original. > > Thanks to Doug Hughes for steering me in the right direction on the > Force10s - I'd been using "dell" as the device type, and I guess "force10" > took over from that at some point since the last time I updated. I've > changed my devices and they're now backing up. > > Does anybody have a clue about the A10s? "End of run not found" is really > not helping me figure out a starting point. > > Cheers, > > Craig > > On 24 May 2018 at 10:57, Craig Hopkins wrote: > >> Hi, >> >> Since updating to Debian 9.4 (rancid 3.6.2) I can a10login / clogin to my >> A10 and Dell Force10 kit but the rancid runs aren't working. >> >> The logs for Force10s is >> >> Trying to get all of the configs. >> Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at >> /usr/lib/rancid/bin/drancid line 49. >> >> and for the A10s: >> >> device.ip.address: End of run not found >> >> Any suggestions? >> >> Cheers, >> >> Craig >> > > > > _______________________________________________ > Rancid-discuss mailing listRancid-discuss at shrubbery.nethttp://www.shrubbery.net/mailman/listinfo/rancid-discuss > > > -- > Doug Hughes > Keystone NAP > Fairless Hills, PA > 1.844.KEYBLOCK (539.2562) > _______________________________________________ > Rancid-discuss mailing list > Rancid-discuss at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/rancid-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: keystone-nap.png Type: image/png Size: 3476 bytes Desc: not available URL: From nandha0519 at gmail.com Thu May 31 04:19:25 2018 From: nandha0519 at gmail.com (Nanda Kumar Arumugam) Date: Thu, 31 May 2018 12:19:25 +0800 Subject: [rancid] Router Config diffs Message-ID: I am receiving a mail for particular customer, is that anything i need to update in the CVS file. Index: configs/ 1x.1x.1x.1x =================================================================== retrieving revision 1.378 diff -u -4 -r1.378 1x.1x.1x.1x @@ -30,9 +30,9 @@ set admin-server-cert "self-sign" set admin-sport 443 set admin-ssh-grace-time 120 set admin-ssh-port 22 - set admin-ssh-v1 disable + set admin-ssh-v1 disable set admin-telnet-port 23 set admintimeout 5 set anti-replay strict set auth-cert "self-sign" Index: configs/1x.1x.1x.1x Thanks & Regards Nanda Kumar.A +91 95005 44986 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nandha0519 at gmail.com Thu May 31 04:14:21 2018 From: nandha0519 at gmail.com (Nanda Kumar Arumugam) Date: Thu, 31 May 2018 12:14:21 +0800 Subject: [rancid] Fwd: router config diffs In-Reply-To: References: Message-ID: Thanks & Regards Nanda Kumar.A +91 95005 44986 ---------- Forwarded message ---------- From: Nanda Kumar Arumugam Date: Thu, May 31, 2018 at 11:19 AM Subject: router config diffs To: heasley I am receiving a mail for particular customer, is that anything i need to update in the CVS file. Index: configs/ 1x.1x.1x.1x =================================================================== retrieving revision 1.378 diff -u -4 -r1.378 1x.1x.1x.1x @@ -30,9 +30,9 @@ set admin-server-cert "self-sign" set admin-sport 443 set admin-ssh-grace-time 120 set admin-ssh-port 22 - set admin-ssh-v1 disable + set admin-ssh-v1 disable set admin-telnet-port 23 set admintimeout 5 set anti-replay strict set auth-cert "self-sign" Index: configs/1x.1x.1x.1x Thanks & Regards Nanda Kumar.A +91 95005 44986 On Wed, May 30, 2018 at 2:29 AM, heasley wrote: > Fri, May 25, 2018 at 10:46:40AM +0800, Nanda Kumar Arumugam: > > Hi Heasley, > > > > Can you explain me on the below lines, what are the issues. > > > > [rancid at Server rancid]$ /usr/local/rancid/bin/clogin -m 1x.x.x.x > > 1x.x.x.x > > password:/home/rancid/.cloginrc:107: * clearance clarence > > user:/home/rancid/.cloginrc:130: 1x.x.x.x user1 > > cyphertype:/home/rancid/.cloginrc:110: * 3des > > method:/home/rancid/.cloginrc:132: 1x.x.x.x ssh telnet > > they are not problems. it is telling you what it is using for named > device. are those the correct matches for the device? ie: what you > expect them to be? > > the directives are explained in the manpage cloginrc(5), if that is what > you're asking. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heas at shrubbery.net Thu May 31 15:40:27 2018 From: heas at shrubbery.net (heasley) Date: Thu, 31 May 2018 15:40:27 +0000 Subject: [rancid] Router Config diffs In-Reply-To: References: Message-ID: <20180531154027.GD72644@shrubbery.net> Thu, May 31, 2018 at 12:19:25PM +0800, Nanda Kumar Arumugam: > I am receiving a mail for particular customer, is that anything i need to > update in the CVS file. > > > Index: configs/ 1x.1x.1x.1x > > =================================================================== > > retrieving revision 1.378 > > diff -u -4 -r1.378 1x.1x.1x.1x > > @@ -30,9 +30,9 @@ > > set admin-server-cert "self-sign" > > set admin-sport 443 > > set admin-ssh-grace-time 120 > > set admin-ssh-port 22 > > - set admin-ssh-v1 disable > > + set admin-ssh-v1 disable > > set admin-telnet-port 23 > > set admintimeout 5 > > set anti-replay strict > > set auth-cert "self-sign" > > Index: configs/1x.1x.1x.1x it is benign. it is most likely a result of the pager. Some devices offer no way to turn it off and sometimes the login scripts do not handle the pager prompting properly. what version of rancid and what device type? there have been pager fixes as recently as 3.5. From heas at shrubbery.net Thu May 31 19:14:39 2018 From: heas at shrubbery.net (heasley) Date: Thu, 31 May 2018 19:14:39 +0000 Subject: [rancid] Cisco FX-OS / Firepower Message-ID: <20180531191439.GJ6184@shrubbery.net> The alpha version of rancid now has Cisco FX-OS/Firepower support. I am not sure how stable it is ATM, since my access to one is limited and about to cease. And, his is an odd O/S - YMMV. report issues to rancid-discuss at . From mshoaib at paciolan.com Thu May 31 19:41:20 2018 From: mshoaib at paciolan.com (Muhammad Shoaib) Date: Thu, 31 May 2018 19:41:20 +0000 Subject: [rancid] Citrix Netscaler and Rancid Message-ID: Hello, I am having difficulty configuring Netscaler ( running version 12.0 ) on rancid 3.7. Other network stuff is working fine and no issues with the same rancid. My config is : router.db cans1mpx8005;netscaler;up cans2mpx8005;netscaler;up When I try bin/clogin ? it will log in successfully but the shell is sluggish and it times out with an error : [rancid at ca01net03 ~]$ bin/clogin cans2mpx8005 cans2mpx8005 spawn ssh -x -l nsroot cans2mpx8005 Password: Last login: Thu May 31 12:31:42 2018 from 172.x.x.xx Done > enable ERROR: Ambiguous (use cmd completion for options) > > Error: TIMEOUT reached can not find channel named "exp6" while executing "send "\r"" ("foreach" body line 163) invoked from within "foreach router [lrange $argv $i end] { set router [string tolower $router] # attempt at platform switching. set platform "" send_user ..." (file "bin/clogin" line 858) Here is the output of the debug command : [rancid at ca01net03 etc]$ /home/rancid/bin/rancid -t netscaler -d cans2mpx8005 loadtype: device type netscaler loadtype: found device type netscaler in /home/rancid/etc/rancid.types.base executing nslogin -t 90 -c"" cans2mpx8005 inloop is not configured for device type netscaler at /home/rancid/bin/rancid line 136. [rancid at ca01net03 etc]$ I highly appreciate for any help or a useful pointer. Thank you, Muhammad -------------- next part -------------- An HTML attachment was scrubbed... URL: