[rancid] Re: VLAN portion of rancid-run

Higham, Josh jhigham at epri.com
Thu May 29 14:40:58 UTC 2008


From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Lance Vermilion
	
>	This change in the past has fixed some IOS stuff has similar
> command for CatOS results in no fix. The bottom line is the rancid
> script runs from cron thus it always uses the same terminal and the
> output generated from a show run/etc should not differ on screen output.
> I can login 10 or more times using the same clogin script with from my
> screen and I don't see a single difference between the output..even if
> ran through diff. I would think the problem lies elsewhere.
>
>	-Lance
	
On a similar note, any time we make a change to our Cisco ASA, a lot of lines show up with a different indentation:

@@ -910,13 +914,13 @@
   group-object Service1
   group-object Service2
   group-object Service3
  object-group service DM_INLINE_TCP_4 tcp
-  group-object Service4
+ group-object Service4
   group-object Service5
   group-object Service6
  object-group network DM_INLINE_NETWORK_9
- network-object host Host1
+  network-object host Host1
   network-object host Host2
   network-object host Host3
  object-group service DM_INLINE_SERVICE_1
   group-object Service9

Is there a newline being lost somewhere that is causing this behaviour, and possibly a similar thing with the vlans?

I haven't had time to look at this in depth yet.

Thanks,
Josh
	
	On Wed, May 28, 2008 at 3:51 PM, Zarahel <zarahel at iol.pt> wrote:
	

		I´ve tried to add the 'terminal width 0' in the routers but everytime I log
		out from the router and login again the terminal width value changes.
		Anybody knows why?
		
		-----Mensagem original-----
		De: rancid-discuss-bounces at shrubbery.net
		[mailto:rancid-discuss-bounces at shrubbery.net] Em nome de john heasley
		Enviada: quarta-feira, 28 de Maio de 2008 22:41
		Para: Saku Ytti
		Cc: rancid-discuss at shrubbery.net
		Assunto: [rancid] Re: VLAN portion of rancid-run
		

		Wed, May 28, 2008 at 12:06:43PM +0300, Saku Ytti:
		> On (2008-05-26 14:10 +0100), zarahel at iol.pt wrote:
		>
		> > equipments (even if there?s no changes in their configurations), due to
		> > the Vlan proportion of the config (the printscreen is anexed to this
		> > mail).
		> >
		> > I don?t know why this happens...is this some kind of bug in rancid?
		> >
		> > Does anybody know a fix for this?
		>
		> This seems to be FAQ, quick fix is to do add 'terminal width 0' where
		> 'terminal length 0' is. Since the config change is caused by line-wrapping
		> when some VLAN gets more/less ports.
		
		Adding 'terminal width' has concerned me; that it would reveal cisco/other
		platform bugs.  The number of platforms that I have is limited.  Who is
		using this change and with what platforms?
		
		_______________________________________________
		Rancid-discuss mailing list
		Rancid-discuss at shrubbery.net
		http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
		
		_______________________________________________
		Rancid-discuss mailing list
		Rancid-discuss at shrubbery.net
		http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
		




More information about the Rancid-discuss mailing list