Mailing List Archive

timeout on extreme switches
Hi,

Have a running FreeBSD 4.9 with rancid 2.3r1_1 and am trying to collect
configs from Extreme Switches. When I use clogin to test I get through login
procedure but cannot issue any command - don't get responses back. It does
not matter if logged in through telnet or SSH.

If I run xrancid it complains about expired timeout. Any idea what is going
wrong?

# xrancid bd
bd clogin error: Error: TIMEOUT reached
bd: missed cmd(s): show configuration,show diagnostics,show memory,show
slot,show switch,show configuration detail,show version
bd: End of run not found
#
timeout on extreme switches [ In reply to ]
Sat, Feb 21, 2004 at 08:48:05AM +0100, Bostjan Fele:
>
> Hi,
>
> Have a running FreeBSD 4.9 with rancid 2.3r1_1 and am trying to collect
> configs from Extreme Switches. When I use clogin to test I get through login
> procedure but cannot issue any command - don't get responses back. It does
> not matter if logged in through telnet or SSH.
>
> If I run xrancid it complains about expired timeout. Any idea what is going
> wrong?
>
> # xrancid bd
> bd clogin error: Error: TIMEOUT reached
> bd: missed cmd(s): show configuration,show diagnostics,show memory,show
> slot,show switch,show configuration detail,show version
> bd: End of run not found
> #

most often this is a problem with matching of the prompt. either
the device "auto enables" or aaa has been used to alter the prompt.

when you login manually, what does the prompt look like?
timeout on extreme switches [ In reply to ]
Hi,

Tried to go deeper with clogin. Machine prompts back with "TESTIRNICA-BD:1
#".

$ clogin bd -c "show version"
bd
spawn telnet bd
Trying 10.10.103.150...
Connected to bd.
Escape character is '^]'.
login: nmis
password:


ExtremeWare
Copyright (C) 1996-2003 Extreme Networks. All rights reserved.
===============================================================

Press the <tab> key at any time for completions.
Remember to save your configuration changes.
TESTIRNICA-BD:1 #
TESTIRNICA-BD:1 #
Error: TIMEOUT reached


That is already "enabled" prompt in Cisco terms. Here my .cloginrc config
for this device:

# BlackDiamond
add user bd nmis
add password bd nmis
add noenable bd 1

Regards,
Bostjan



-----Original Message-----
From: john heasley [mailto:heas@shrubbery.net]
Sent: Saturday, February 21, 2004 9:20 AM
To: Bostjan Fele
Cc: Rancid-Discuss at Shrubbery. Net
Subject: Re: timeout on extreme switches

Sat, Feb 21, 2004 at 08:48:05AM +0100, Bostjan Fele:
>
> Hi,
>
> Have a running FreeBSD 4.9 with rancid 2.3r1_1 and am trying to collect
> configs from Extreme Switches. When I use clogin to test I get through
login
> procedure but cannot issue any command - don't get responses back. It does
> not matter if logged in through telnet or SSH.
>
> If I run xrancid it complains about expired timeout. Any idea what is
going
> wrong?
>
> # xrancid bd
> bd clogin error: Error: TIMEOUT reached
> bd: missed cmd(s): show configuration,show diagnostics,show memory,show
> slot,show switch,show configuration detail,show version
> bd: End of run not found
> #

most often this is a problem with matching of the prompt. either
the device "auto enables" or aaa has been used to alter the prompt.

when you login manually, what does the prompt look like?
timeout on extreme switches [ In reply to ]
On Sat, Feb 21, 2004 at 10:35:08AM +0100, Bostjan Fele wrote:
> That is already "enabled" prompt in Cisco terms. Here my .cloginrc config
> for this device:
>
> # BlackDiamond
> add user bd nmis
> add password bd nmis
> add noenable bd 1

You need this:
add autoenable bd 1
I don't think you need the noenable.
--asp
timeout on extreme switches [ In reply to ]
Hi,

It worked. Thanks.

Regards,
Bostjan

--------------------------------------------------------
Bostjan FELE
E-mail: bostjan.fele at smart-com.si
Smart Com, d.o.o.
Brnciceva 45, 1001 Ljubljana, Slovenia
URL: http://www.smart-com.si
Tel.: +386-1-5308-312
Fax.: +386-1-5611-571
Mob.: +386-41-399-363
---------------------------------------------------------

-----Original Message-----
From: Andrew Partan [mailto:asp@partan.com]
Sent: Saturday, February 21, 2004 4:04 PM
To: Bostjan Fele
Cc: john heasley; Rancid-Discuss at Shrubbery. Net
Subject: Re: timeout on extreme switches

On Sat, Feb 21, 2004 at 10:35:08AM +0100, Bostjan Fele wrote:
> That is already "enabled" prompt in Cisco terms. Here my .cloginrc config
> for this device:
>
> # BlackDiamond
> add user bd nmis
> add password bd nmis
> add noenable bd 1

You need this:
add autoenable bd 1
I don't think you need the noenable.
--asp