Prevent PAGP messages from showing up in diffs

Zhang, Anchi AZhang at reliant.com
Fri Mar 15 23:00:10 UTC 2002


Thanks for your pointer.  Adding -s to clogin made it work:

log2# diff cat5rancid cat5rancid.orig 
1031c1031
<       system "clogin -s -t $timeo -c \"$cisco_cmds\" $host </dev/null
> $host.raw 2>&1" || die "clogin failed for $host: $!\n";
---
>       system "clogin -t $timeo -c \"$cisco_cmds\" $host </dev/null >
$host.raw 2>&1" || die "clogin failed for $host: $!\n";

-----Original Message-----
From: john heasley [mailto:heas at shrubbery.net]
Sent: Friday, March 15, 2002 3:45 PM
To: Zhang, Anchi
Cc: Andrew Partan; rancid-discuss at shrubbery.net
Subject: Re: Prevent PAGP messages from showing up in diffs


Thu, Mar 14, 2002 at 11:17:43AM -0600, Zhang, Anchi:
> The command acctually works if I login and issue the command manually.
> 
> What would be a good way to tell whether rancid actually sends this
> command?
> 
> Anchi

it is only sent when using a script (clogin -s).  iirc, this is a
system-wide ocmmand, not a per-login/terminal setting.  best is to
make this a permanent part of your configuration.

> -----Original Message-----
> From: Andrew Partan [mailto:asp at partan.com]
> Sent: Wednesday, March 13, 2002 9:17 PM
> To: Zhang, Anchi
> Cc: rancid-discuss at shrubbery.net
> Subject: Re: Prevent PAGP messages from showing up in diffs
> 
> 
> On Wed, Mar 06, 2002 at 09:26:08AM -0600, Zhang, Anchi wrote:
> > log2# grep "set logging session disable" clogin 
> >             send "set logging session disable\r"
> 
> Hmm; so what is that not working?  Does this command actually work
> on the switch & code you are running?  Is rancid sending this
> command to your switch?
> 	--asp



More information about the Rancid-discuss mailing list