[rancid] Cisco Banners
Todd Heide
workwithcisco at yahoo.com
Tue Apr 14 19:10:30 UTC 2015
Yep. Could not locate an rws patch for the latest version so used 2.3.8. So far so good, this is my only hangup.
Sent from my iPhone
> On Apr 14, 2015, at 1:19 PM, heasley <heas at shrubbery.net> wrote:
>
> Tue, Apr 14, 2015 at 06:12:56PM +0000, Todd Heide:
>> 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.
>
> I need to update those manpages; sorry.
>
> I assumed you were using rancid >= 3.0. This was added in 3.0.
>
>>
>> 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)
>>
>>
>>
More information about the Rancid-discuss
mailing list