Prevent PAGP messages from showing up in diffs

Zhang, Anchi AZhang at reliant.com
Wed Mar 6 15:18:15 UTC 2002


Thanks for your reply.

They are Catalyst 6509 switches.

"set logging session disable" will "disable the sending of system
logging messages to the current login session."  How best should I add
this command to rancid?

Anchi

-----Original Message-----
From: Andrew Partan [mailto:asp at partan.com]
Sent: Tuesday, March 05, 2002 10:23 PM
To: Zhang, Anchi
Cc: rancid-discuss at shrubbery.net
Subject: Re: Prevent PAGP messages from showing up in diffs


On Tue, Mar 05, 2002 at 09:14:12AM -0600, Zhang, Anchi wrote:
> I get mail almost every time Rancid runs due to PAGP messages.  What
> would be the best way to prevent such messages from showing up in the
> diffs?

What type of router (switch?) is that?

It looks like said box is sending syslog messages to the login
session that rancid is using.  I seem to recall running into some
box that had a bug where you could not turn this off (the stupid
box insisted on sysloging its messages to *every* session on the
box, even if you didn't do the equivalent of 'term mon').

Automatically getting rid of this junk is quite a pain since it
can essentially show up anywhere in the output stream (including
in the middle of a line).


Query: Can you configure your router to not send these messages to
the telnet/ssh// session that rancid uses?  Or is there some sort
of command rancid can issue (ala 'term len 0') when it logs in to
not get these messages?  Or is this one of those broken boxes I
recall?  [In which case the only real option is to beat on the
vendor to get them to fix their stupid bug.]

	--asp



More information about the Rancid-discuss mailing list