Mailing List Archive

Timeout
Is there a way to setup a timeout for configuration collection. I have
a couple of devices that take awhile over a vpn.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Re: Timeout [ In reply to ]
Wed, Jun 03, 2009 at 09:54:46PM -0400, Dustin Schuemann:
> Is there a way to setup a timeout for configuration collection. I have
> a couple of devices that take awhile over a vpn.

no. i guess cloginrc needs a timeout knob.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Re: Timeout [ In reply to ]
Does your banner contain any of > or # ?

-----Original Message-----
From: Rancid-discuss <rancid-discuss-bounces@www.shrubbery.net> On Behalf Of brutuz bigdaddy
Sent: Tuesday, 4 January 2022 3:47 AM
To: rancid-discuss@www.shrubbery.net
Subject: [rancid] Timeout

I have this information..

add user myNexus5k prodlogin

add password myNexus5k prodpass
add noenable myNexus5k 1

add method myNexus5k ssh

running debug:
expect: does "" (spawn_id exp7) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
Password:
expect: does "Password: " (spawn_id exp7) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
expect: timed out

Error: TIMEOUT reached

The nexus5k switch has banner/motd. It looks like pass is not being sent.

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss@www.shrubbery.net
https://www.shrubbery.net/mailman/listinfo/rancid-discuss
Re: Timeout [ In reply to ]
No worries. Out procurement dept is not communicating well with us on what they need for po’s

Sooner the better.

-Mike



_
Michael T. Voity | Network Engineer | Telecommunications & Network Services| Enterprise Technology Services | The University of Vermont | (802) 656-8112 | mvoity@uvm.edu<mailto:mvoity@uvm.edu>

From: Rancid-discuss [mailto:rancid-discuss-bounces@sea.shrubbery.net] On Behalf Of brutuz bigdaddy
Sent: Monday, January 3, 2022 9:32 AM
To: rancid-discuss@sea.shrubbery.net
Subject: [rancid] Timeout

I have this information..

add user myNexus5k prodlogin
add password myNexus5k prodpass
add noenable myNexus5k 1
add method myNexus5k ssh

running debug:
expect: does "" (spawn_id exp7) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
Password:
expect: does "Password: " (spawn_id exp7) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
expect: timed out

Error: TIMEOUT reached

The nexus5k switch has banners/motd. It looks like pass is not being sent.
Re: Timeout [ In reply to ]
Sorry, wrong thread….




_
Michael T. Voity | Network Engineer | Telecommunications & Network Services| Enterprise Technology Services | The University of Vermont | (802) 656-8112 | mvoity@uvm.edu<mailto:mvoity@uvm.edu>

From: Rancid-discuss [mailto:rancid-discuss-bounces@sea.shrubbery.net] On Behalf Of Michael T. Voity
Sent: Friday, July 1, 2022 5:39 PM
To: brutuz bigdaddy <jerome.m@gmail.com>; rancid-discuss@sea.shrubbery.net
Subject: Re: [rancid] Timeout

No worries. Out procurement dept is not communicating well with us on what they need for po’s

Sooner the better.

-Mike



_
Michael T. Voity | Network Engineer | Telecommunications & Network Services| Enterprise Technology Services | The University of Vermont | (802) 656-8112 | mvoity@uvm.edu<mailto:mvoity@uvm.edu>

From: Rancid-discuss [mailto:rancid-discuss-bounces@sea.shrubbery.net] On Behalf Of brutuz bigdaddy
Sent: Monday, January 3, 2022 9:32 AM
To: rancid-discuss@sea.shrubbery.net<mailto:rancid-discuss@sea.shrubbery.net>
Subject: [rancid] Timeout

I have this information..

add user myNexus5k prodlogin
add password myNexus5k prodpass
add noenable myNexus5k 1
add method myNexus5k ssh

running debug:
expect: does "" (spawn_id exp7) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
Password:
expect: does "Password: " (spawn_id exp7) match regular expression "[\r\n]+"? (No Gate, RE only) gate=yes re=no
"^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
"^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
expect: timed out

Error: TIMEOUT reached

The nexus5k switch has banners/motd. It looks like pass is not being sent.
Re: Timeout [ In reply to ]
It might help if you could share some of the banner, removing anything that
you might not want to share with X.
There might be a character that is causing the confusion.

Aaron

On Fri, Jul 1, 2022 at 2:18 PM brutuz bigdaddy <jerome.m@gmail.com> wrote:

> I have this information..
>
> add user myNexus5k prodlogin
> add password myNexus5k prodpass
> add noenable myNexus5k 1
> add method myNexus5k ssh
>
> running debug:
> expect: does "" (spawn_id exp7) match regular expression "[\r\n]+"? (No
> Gate, RE only) gate=yes re=no
> "^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
> "^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
> Password:
> expect: does "Password: " (spawn_id exp7) match regular expression
> "[\r\n]+"? (No Gate, RE only) gate=yes re=no
> "^(.+[:.])1 ((>|#| \(enable\)))"? (No Gate, RE only) gate=yes re=no
> "^.+(>|#| \(enable\))"? (No Gate, RE only) gate=yes re=no
> expect: timed out
>
> Error: TIMEOUT reached
>
> The nexus5k switch has banners/motd. It looks like pass is not being sent.
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss@www.shrubbery.net
> https://www.shrubbery.net/mailman/listinfo/rancid-discuss
>