Discussion:
[rancid] Issues while running clogin with 6500
Tyler Hall
2009-04-24 23:01:21 UTC
Permalink
We have a 6500 and when we try to run rancid-run, it errors out with the following:

Getting missed routers: round 4.
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re+ { exp_continue } -re {^[^
*]*bbr1.phx1([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user -- "$expect_out(buffer)"
} -re {^[..."
invoked from within
"expect {
-re "\b+" { exp_continue }
-re "^\[^\n\r *]*$reprompt" { send_user -- "$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprom..."
(procedure "run_commands" line 41)
invoked from within
"run_commands $prompt $command"
("foreach" body line 152)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "/usr/local/rancid/bin/clogin" line 715)
bbr1.phx1.: missed cmd(s): admin show diag,dir /all slavedisk2:,dir /all sec-slot2:,show diag,dir /all disk1:,dir /all sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe version,dir /all slaveslot2:,dir /all disk0:,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-disk0:,dir /all harddiskb:,show inventory raw,dir /all slavedisk1:,show module,show controllers,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,dir /all bootflash:,dir /all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slavebootflash:,show controllers cbus,dir /all slaveslot1:,show vlan-switch,show running-config,show c7200,dir /all slot1:
bbr1.phx1.: End of run not found


When we manually run "clogin -c "sh run" router, it just dies in the middle of the interfaces.

Any help you can provide would be great.

-thall
john heasley
2009-04-28 18:13:58 UTC
Permalink
either telnet/ssh exited prematured or the device abrupted terminated the
connection. You'll have to try these commands manually and/or with
'clogin -d' to determine which.

also, expect back-traces list this should be eliminated in more recent
code, included in rancid 2.3.2.
Post by Tyler Hall
Getting missed routers: round 4.
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re+ { exp_continue } -re {^[^
*]*bbr1.phx1([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user -- "$expect_out(buffer)"
} -re {^[..."
invoked from within
"expect {
-re "\b+" { exp_continue }
-re "^\[^\n\r *]*$reprompt" { send_user -- "$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprom..."
(procedure "run_commands" line 41)
invoked from within
"run_commands $prompt $command"
("foreach" body line 152)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "/usr/local/rancid/bin/clogin" line 715)
bbr1.phx1.: End of run not found
When we manually run "clogin -c "sh run" router, it just dies in the middle of the interfaces.
Any help you can provide would be great.
-thall
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...