From me at falz.net Mon Jun 19 13:20:34 2023 From: me at falz.net (Chris Wopat) Date: Mon, 19 Jun 2023 08:20:34 -0500 Subject: [rancid] Support for Coriant Groove - has been discussed on-list before In-Reply-To: References: Message-ID: Digging up an old question from a few months ago - anyone have code to share for Coriant Groove G30 support? It's as though you just have to change `exit` to `exit -f` and adjust a few commands, but unsure the cleanest way to achieve this. Cheers, Chris On Thu, Jan 5, 2023 at 7:56?AM Chris Wopat wrote: > Curious if anyone out there has existing code to share for Coriant Groove > w/ RANCID. > > This was discussed in the past and it appears to be working, but code > wasn't shared: > > https://shrubbery.net/pipermail/rancid-discuss/2018-January/010026.html > > I agree generally with the commands listed in that thread as a starting > point. I should note that `clogin` works fine, the only gotcha appears to > be that if you `exit` you get an `are you sure` prompt: > > ====================== > me at o-g30-lab-1> exit > Are you sure? [y/n] y > Shutting down the session > > Connection closed > ====================== > > As noted in that thread, `exit -f` omits the prompt. I attempted to do a > simple fake-add of device using clogin by putting this in > rancid.types.base, but it's hung up on that part. Any way to force this, > from rancid.types.base, to send `exit -f` instead of `exit`? > > If this truly requires a new actual module, what's current best practice > here - ie which is a good go-to module to copy as a base? Also, the first > command (show shelf) should probably have 'comments' prepending it, like # > or ! or something. unsure how that's accomplished > > > coriant;script;rancid -t coriant > coriant;login;clogin > coriant;module;ios > coriant;inloop;ios::inloop > coriant;command;ios::ShowVersion;show shelf > coriant;command;ios::WriteTerm;show config | display commands > coriant;command;ios::WriteTerm;exit -f > > > Thoughts? > --Chris > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christian.Garling at Nordfrost.de Fri Jun 23 07:32:35 2023 From: Christian.Garling at Nordfrost.de (Garling, Christian) Date: Fri, 23 Jun 2023 07:32:35 +0000 Subject: [rancid] Cisco 1921 router backup fails Message-ID: <07264f13bfb04edba0127ed6f9ebe345@Nordfrost.de> Hi there, currently I am trying to backup a Cisco 1921 router. My router.db is looking like this: router.example.com;cisco;up The matching .cloginrc entry: ##### cisco router ##### add cyphertype *rt* 3des-cbc add user *rt* USER add password *rt* PASS PASS add method *rt* ssh add autoenable *rt* 0 And finally the log entries: Trying to get all of the configs. router.example.com: missed cmd(s): show running-config view full, show running-config router.example.com: End of run not found !! !! ===================================== Getting missed routers: round 1. Manual SSH login and also clogin succeeds. So what am I missing? Mit freundlichen Gr??en / Best regards NORDFROST GmbH & Co. KG Christian Garling IT Hosting NORDFROST* GmbH & Co. KG Europa-Zentrale Nordfrost-Ring 1 D-26419 Schortens Telefon: +49 4461 8902-6966 Mail: christian.garling at nordfrost.de Web: www.Nordfrost.de NORDFROST GmbH & Co. KG: Sitz der Gesellschaft: Nordfrost-Ring 1, 26419 Schortens Amtsgericht Oldenburg: HRA 130108 Pers?nlich haftend: NORDFROST Verwaltungs-GmbH Postanschrift der generellen Gesch?ftst?tigkeit: Nordfrost-Ring 1, 26419 Schortens Gesch?ftsf?hrer: Dr. Falk Bartels, Dipl.-Kffr. Britta Bartels Amtsgericht Oldenburg: HRB 130054 F?r s?mtliche Gesch?fte gelten die Allgemeinen Gesch?ftsbedingungen (NF AGB) in der jeweils aktuellen Fassung, welche in den Gesch?ftsr?umen der NORDFROST und im Internet unter www.nordfrost.de einzusehen sind. -------------- next part -------------- An HTML attachment was scrubbed... URL: