Mailing List Archive

Problem with Catalyst switches
Hello,

need a help with RANCID (2.2.1) and Catalyst switches (65XX) .

I've put 6 switches in a separate group.
'cat5rancid -d IP' is working fine for each of them.

'do-diffs' running by cron is usually unable to collect configs from 1 or 2 switches (random, 5,6 times).
After multiple attempts I'm getting a configuration.

Log file has:

Trying to get all of the configs.
=====================================
Getting missed routers: round 1.
=====================================
Getting missed routers: round 2.
=====================================
Getting missed routers: round 3.
=====================================
Getting missed routers: round 4.
!
XX.XX.1.7 clogin error: Error: TIMEOUT reached
XX.XX.1.7: missed cmd(s): show boot,dir slot0:,dir bootflash:,dir slot1:,dir sup
-bootflash:,show module,write term,show version,show flash,show port ifindex,dir
sup-microcode:
XX.XX.1.7: End of run not found


Anyway I could troubleshoot the problem?


Dmitri Smirnov, SSCP
Security Team
Problem with Catalyst switches [ In reply to ]
You don't happen to use ssh as your login method, do you? In my setup, Rancid has no problem using telnet but fails occasionally if it relies on ssh to reach cat5 devices.

Anchi

-----Original Message-----
From: Dmitri Smirnov [mailto:Dmitri.Smirnov@roundheaven.com]
Sent: Monday, June 03, 2002 4:12 PM
To: rancid-discuss at shrubbery.net
Subject: Problem with Catalyst switches


Hello,

need a help with RANCID (2.2.1) and Catalyst switches (65XX) .

I've put 6 switches in a separate group.
'cat5rancid -d IP' is working fine for each of them.

'do-diffs' running by cron is usually unable to collect configs from 1 or 2 switches (random, 5,6 times).
After multiple attempts I'm getting a configuration.

Log file has:

Trying to get all of the configs.
=====================================
Getting missed routers: round 1.
=====================================
Getting missed routers: round 2.
=====================================
Getting missed routers: round 3.
=====================================
Getting missed routers: round 4.
!
XX.XX.1.7 clogin error: Error: TIMEOUT reached
XX.XX.1.7: missed cmd(s): show boot,dir slot0:,dir bootflash:,dir slot1:,dir sup
-bootflash:,show module,write term,show version,show flash,show port ifindex,dir
sup-microcode:
XX.XX.1.7: End of run not found


Anyway I could troubleshoot the problem?


Dmitri Smirnov, SSCP
Security Team
Problem with Catalyst switches [ In reply to ]
Thank you Anchi,

I'm using ssh as login method.
Is it RANCID or CatOS problem? Is anyway to fix it without 'telnet'?

Dmitri

-----Original Message-----
From: Zhang, Anchi [mailto:AZhang@reliant.com]
Sent: Tuesday, June 04, 2002 9:53 AM
To: Dmitri Smirnov; rancid-discuss at shrubbery.net
Subject: RE: Problem with Catalyst switches


You don't happen to use ssh as your login method, do you? In my setup,
Rancid has no problem using telnet but fails occasionally if it relies
on ssh to reach cat5 devices.

Anchi

-----Original Message-----
From: Dmitri Smirnov [mailto:Dmitri.Smirnov@roundheaven.com]
Sent: Monday, June 03, 2002 4:12 PM
To: rancid-discuss at shrubbery.net
Subject: Problem with Catalyst switches


Hello,

need a help with RANCID (2.2.1) and Catalyst switches (65XX) .

I've put 6 switches in a separate group.
'cat5rancid -d IP' is working fine for each of them.

'do-diffs' running by cron is usually unable to collect configs from 1
or 2 switches (random, 5,6 times). After multiple attempts I'm getting a
configuration.

Log file has:

Trying to get all of the configs. =====================================
Getting missed routers: round 1. =====================================
Getting missed routers: round 2. =====================================
Getting missed routers: round 3. =====================================
Getting missed routers: round 4.
!
XX.XX.1.7 clogin error: Error: TIMEOUT reached
XX.XX.1.7: missed cmd(s): show boot,dir slot0:,dir bootflash:,dir
slot1:,dir sup -bootflash:,show module,write term,show version,show
flash,show port ifindex,dir
sup-microcode:
XX.XX.1.7: End of run not found


Anyway I could troubleshoot the problem?


Dmitri Smirnov, SSCP
Security Team
Problem with Catalyst switches [ In reply to ]
On Tue, Jun 04, 2002 at 10:02:01AM -0700, Dmitri Smirnov wrote:
> I'm using ssh as login method.
> Is it RANCID or CatOS problem? Is anyway to fix it without 'telnet'?

There seems to be bugs in ciscos where sometimes ssh just does not
work; unclear why. If I see ssh not work, it usually does not work
for just one or two of the 5 tries that rancid does per run.
--asp