problem with Cat6000's
Josh Rivel
jrivel at dti.net
Thu Jan 24 19:44:21 UTC 2002
Hi.
I'm using rancid-2.2 on an OpenBSD 3.0 box, tcl/tk 8.3.3, expect 5.24.
Works fine for my various Foundry's and IOS devices (2500s, 4000's,
7200's, etc.)
However, on the switch side of the 6500's (a 6506 and 6509), and also
on a 2980
I get the following in my log files:
starting: Thu Jan 24 14:16:24 EST 2002
Trying to get all of the configs.
cat6506: End of run not found
end
cat6509: End of run not found
end
cat2980 End of run not found
end
=====================================
etc.
a cloginc -c "cmd1;cmd2" switch-name
works fine, no errors.
I saw the same thing when I was running rancid-2.1 on Solaris 2.6,
figured upgrading to OpenBSD, newer versions of rancid and expect
would solve the problem, but it remains.
The prompt on the switches is:
switchname>
and
switchname> (enable)
when in enabled mode.
All the switches are running IOS which uses SSH, I am running OpenSSH 3.0.2
The only relevant lines in the .cloginrc is:
add method cat650* ssh
add method cat2980* ssh
and
add cyphertype * {3des}
Thanks.
Here's the output of clogin -s "show version" to one of the switches:
$ clogin -c "show ver" cat6509
cat6509
spawn ssh -c 3des -x -l rancid cat6509
rancid at cat6509's password:
Cisco Systems Console
cat6509> enable
Enter password:
cat6509> (enable)
cat6509> (enable) set length 0
Screen length for this session set to 0.
cat6509> (enable) show ver
WS-C6509 Software, Version NmpSW: 7.1(1)
Copyright (c) 1995-2001 by Cisco Systems
NMP S/W compiled on Nov 30 2001, 17:24:31
System Bootstrap Version: 5.3(1)
Hardware Version: 2.0 Model: WS-C6509 Serial #: SCA0349028V
PS1 Module: WS-CAC-1300W Serial #: ACP03451461
PS2 Module: WS-CAC-1300W Serial #: ACP03430209
Mod Port Model Serial # Versions
--- ---- ------------------- ----------- --------------------------------------
1 2 WS-X6K-SUP1A-2GE SAD03411160 Hw : 3.4
Fw : 5.3(1)
Fw1: 5.4(2)
Sw : 7.1(1)
Sw1: 7.1(1)
WS-F6K-PFC SAD03430164 Hw : 1.1
2 48 WS-X6248-RJ-45 SAD040102MV Hw : 1.1
Fw : 4.2(0.24)VAI78
Sw : 7.1(1)
3 48 WS-X6248-RJ-45 SAD040102T4 Hw : 1.1
Fw : 4.2(0.24)VAI78
Sw : 7.1(1)
15 1 WS-F6K-MSFC SAD03427681 Hw : 2.1
Fw : 12.0(7)XE1,
Sw : 12.0(7)XE1,
DRAM FLASH NVRAM
Module Total Used Free Total Used Free Total Used Free
------ ------- ------- ------- ------- ------- ------- ----- ----- -----
1 65408K 45434K 19974K 16384K 9896K 6488K 512K 296K 216K
Uptime is 27 days, 23 hours, 14 minutes
cat6509> (enable)Connection to cat6509 closed by remote host.
Connection to cat6509 closed.
--
josh
More information about the Rancid-discuss
mailing list