cisco 9509 fiber switch not working
Hopper, Faron W.
faron.hopper at capgemini.com
Thu Dec 15 19:00:10 UTC 2005
John,
When I do a find for rancid.in, I don't find it on my system.
What file do you want me to apply the patch to?
find / rancid.in | grep -i rancid.in
/usr/local/man/man1/rancid_intro.1.gz
/usr/local/share/rancid/index.html
find: rancid.in: No such file or directory
ckcus0002-cfgbak01#
Thanks,
Faron
-----Original Message-----
From: john heasley [mailto:heas at shrubbery.net]
Sent: Wednesday, December 14, 2005 5:52 PM
To: Hopper, Faron W.; heas at ni.shrubbery.net
Subject: Re: cisco 9509 fiber switch not working
Wed, Dec 14, 2005 at 03:00:06PM -0500, Hopper, Faron W.:
>
>
> I did try that, and the css as well. I received the same results.
think I see the problem. try this patch; you'll probably have to apply
it by hand.
can you tell me what version of rancid you are using? your .raw file is
missing some commands.
Index: rancid.in
===================================================================
RCS file: /home/rancid/.CVS/rancid/bin/rancid.in,v
retrieving revision 1.198
diff -d -u -1 -0 -r1.198 rancid.in
--- rancid.in 5 Dec 2005 21:13:07 -0000 1.198
+++ rancid.in 14 Dec 2005 23:48:31 -0000
@@ -1325,23 +1338,23 @@
return(0);
}
# This routine processes a "write term"
sub WriteTerm {
print STDERR " In WriteTerm: $_" if ($debug);
my($lineauto,$comment,$linecnt) = (0,0,0);
while (<INPUT>) {
tr/\015//d;
- last if(/^$prompt/);
+ last if (/^$prompt/);
return(1) if /Line has invalid autocommand /;
- return(1) if /(Invalid input detected|Type help or )/;
+ return(1) if /(invalid input detected|type help or )/i;
return(-1) if (/command authorization failed/i);
# the pager can not be disabled per-session on the PIX
if (/^(<-+ More -+>)/) {
my($len) = length($1);
s/^$1\s{$len}//;
}
/Non-Volatile memory is in use/ && return(-1); # NvRAM is
locked
return(0) if ($found_end); # Only do this routine
once
$linecnt++;
More information about the Rancid-discuss
mailing list