[rancid] Cisco Banners

Todd Heide workwithcisco at yahoo.com
Tue Apr 14 18:12:56 UTC 2015


That was the first place I looked, and do not see add prompt listed.  http://www.shrubbery.net/rancid/man/cloginrc.5.html I looked through the .clogin file itself to find a way to ignore the banner. 

 
      From: heasley <heas at shrubbery.net>
 To: Todd Heide <workwithcisco at yahoo.com> 
Cc: "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net> 
 Sent: Tuesday, April 14, 2015 11:36 AM
 Subject: Re: [rancid] Cisco Banners
   
Tue, Apr 14, 2015 at 04:21:46PM +0000, Todd Heide:


> I am having an issue with rancid running commands, and I think I found out why, but dont know how to correct it.  When logging into a router, there is a banner which is using ############# for the box.  Looks like this is what is interfering with Rancid. Is there any work around other than removing the banner(I dont think this will go over well).
> banner motd ^CC
> ###############################################################################
> blahblahblah###############################################################################^C
> expect: does "routerr#\r\nrouter#terminal length 0\r\nrouter#" (spawn_id exp6) match regular expression "###############################################################################"? Gate "###############################################################################"? gate=no
> 
> 

see add prompt in cloginrc(5)


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


More information about the Rancid-discuss mailing list