Newbie Problems - - Please see below

funraps too funraps at yahoo.com
Tue Nov 11 23:44:52 UTC 2003


Andrew,
 
I have the following:
 
add user * <username>
add password * <password> <password>
add autoenable *

 
 
=====================================
Getting missed routers: round 2.
x.x.x.x clogin error: Error: TIMEOUT reached
x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all disk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show controllers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1:
x.x.x.x: End of run not found
!
x.x.x.x clogin error: Error: TIMEOUT reached
x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all disk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show controllers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1:
x.x.x.x: End of run not found
!
can not find channel named "exp4"
    while executing
"close"
    ("foreach" body line 110)
    invoked from within
"foreach router [lrange $argv $i end] {
    set router [string tolower $router]
    send_user "$router\n"
    # Figure out prompt.
    # Since autoena..."
    (file "/usr/local/rancid/bin/clogin" line 559)
x.x.x.x clogin error: Error: TIMEOUT reached
x.x.x.x: missed cmd(s): show env all,show module,show controllers,show diagbus,show diag,dir /all disk1:,show gsr chassis,dir /all bootflash:,write term,dir /all disk2:,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all slot0:,dir /all sup-microcode:,dir /all disk0:,show install active,show bootvar,show vlan,show controllers cbus,dir /all nvram:,show flash,show version,show variables boot,show c7200,show boot,dir /all slot1:
x.x.x.x: End of run not found
!
=====================================


Andrew Partan <asp at partan.com> wrote:
On Tue, Nov 11, 2003 at 02:21:19PM -0800, funraps too wrote:
> ./clogin -c "sh ver;sh log" x.x.x.x
> spawn telnet x.x.x.x
> Trying x.x.x.x...
> Connected to x.x.x.x.xxxxxxx.com (x.x.x.x).
> Escape character is '^]'.
> 
> User Access Verification
> Username: 
> Password:
> #
> Error: TIMEOUT reached

That looks like clogin not recognizing the prompt.
Btw, do you have autoenable set in your .cloginrc?
--asp




More information about the Rancid-discuss mailing list