[rancid] Cisco Banners

heasley heas at shrubbery.net
Tue Apr 14 16:36:36 UTC 2015


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