Discussion:
[rancid] Unable to fetch data with hlogin
Mahaffey, Brian
2010-05-06 21:17:31 UTC
Permalink
Rancid 2.3.3 expect 5.43



When rancid runs I am unable to collect data from HP switches via hlogin
I get an error in the log file.

When I manually run hlogin -c 'show run' HP5308-B6-1 I get a device
timeout.

If I run hlogin HP5308-B6-1 rancid logins successfully.

I have tried this on another HP 5406 switch with the same issues.



-bash-3.2$ hlogin HP5308-B6-1

hp5308-b6-1

spawn ssh -c 3des -x -l rancid hp5308-b6-1

***@hp5308-b6-1's password:



ProCurve J4819A Switch 5308xl

Software revision E.11.10



HP5308-B6-1> enable

Password:

HP5308-B6-1#

HP5308-B6-1# exit

HP5308-B6-1> exit

Do you want to log out [y/n]? y



-----------------------------------------------------



-bash-3.2$ hlogin -c 'show run' HP5308-B6-1

hp5308-b6-1

spawn ssh -c 3des -x -l rancid hp5308-b6-1

***@hp5308-b6-1's password:

HP5308-B6-1> enable

Password:

HP5308-B6-1#

HP5308-B6-1# couldn't compile regular expression pattern: parentheses ()
not balanced

while executing

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"

invoked from within

"expect {

-re $reprompt {}

-re "\[\n\r]+" { exp_continue }

}"

(procedure "run_commands" line 9)

invoked from within

"run_commands $prompt $command"

("foreach" body line 148)

invoked from within

"foreach router [lrange $argv $i end] {

set router [string tolower $router]

send_user "$router\n"



# device timeout

set timeout [find t..."

(file "/mnt/iscsi/apps/rancid/bin/hlogin" line 594)

---------------------------------------------------------------

I don't know how much of this is relevant for you my apologizes I just
grabbed a snip from the log file.



"expect {re "\[\n\r]+"md{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

}"-b-re $repromptrun{}ot found

(pro-re "\[\n\r]+"mm{ exp_continue }

}"voked from withind(s): show stack,show module,show flash,show
version,show system-information,write term,show system information

(procedure "run_commands" line 9)

invoked from withine 148)

"run_commands $prompt $command"w stack,show module,show flash,show
version,show system-information,write term,show system information

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"intolower $router]show module,show flash,show
version,show system-information,write term,show system information

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"g tolower $router]

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }""t.{ exp_continue }ern: parentheses () not balanced

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[in" line 594)

]+} { exp_continue }""mm{ exp_continue }ern: parentheses () not balanced

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }""mm{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

invoked from withine{}48)found

"expect {re "\[\n\r]+"mm{ exp_continue }

}" -re $reprompt {}

(pro-re "\[\n\r]+"mm{ exp_continue }

}"voked from withine 148) $i end] {

(procedure "run_commands" line 9)r]

invoked from withine 148) $i end] {

"run_commands $prompt $command"$router]tern: parentheses () not balanced

("foreach" body line 148) $i end] {login" line 594)

invoked from withintolower $router]tern: parentheses () not balanced

"foreach router [lrange $argv $i end] {login" line 594)

set router [string tolower $router]tern: parentheses () not balanced

send_user "$router\n"s/rancid/bin/hlogin" line 594)

set timeout [find t..."pression pattern: parentheses () not balanced

# device timeouti/apps/rancid/bin/hlogin" line 594)

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[n: parentheses () not balanced

]+} { exp_continue }"/apps/rancid/bin/hlogin" line 594)

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[w module,show flash,show
version,show system-information,write term,show system information

]+} { exp_continue }"un not found

invoked from withind{}): show stack,show module,show flash,show
version,show system-information,write term,show system information

"expect {re "\[\n\r]+"un{ exp_continue }

}" -re $reprompt {}

(pro-re "\[\n\r]+"mm{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

}"voked from withinn not found

(procedure "run_commands" line 9)k,show module,show flash,show
version,show system-information,write term,show system information

invoked from withine 148)ound

"run_commands $prompt $command"

("foreach" body line 148) $i end] {

invoked from withintolower $router]

"foreach router [lrange $argv $i end] {show module,show flash,show
version,show system-information,write term,show system information

set router [string tolower $router]

send_user "$router\n"

set timeout [find t..."pression pattern: parentheses () not balanced

# device timeouti/apps/rancid/bin/hlogin" line 594)

set timeout [find t..."pression pattern: parentheses () not balanced

(file "/mnt/iscsi/apps/rancid/bin/hlogin" line 594)


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read, disclose copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments.
Mahaffey, Brian
2010-05-17 16:43:21 UTC
Permalink
Rancid 2.3.3 expect 5.43



When rancid runs I am unable to collect data from HP switches via hlogin
I get an error in the log file.

When I manually run hlogin -c 'show run' HP5308-B6-1 I get a device
timeout.

If I run hlogin HP5308-B6-1 rancid logins successfully.

I have tried this on another HP 5406 switch with the same issues.



-bash-3.2$ hlogin HP5308-B6-1

hp5308-b6-1

spawn ssh -c 3des -x -l rancid hp5308-b6-1

***@hp5308-b6-1's password:



ProCurve J4819A Switch 5308xl

Software revision E.11.10



HP5308-B6-1> enable

Password:

HP5308-B6-1#

HP5308-B6-1# exit

HP5308-B6-1> exit

Do you want to log out [y/n]? y



-----------------------------------------------------



-bash-3.2$ hlogin -c 'show run' HP5308-B6-1

hp5308-b6-1

spawn ssh -c 3des -x -l rancid hp5308-b6-1

***@hp5308-b6-1's password:

HP5308-B6-1> enable

Password:

HP5308-B6-1#

HP5308-B6-1# couldn't compile regular expression pattern: parentheses ()
not balanced

while executing

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"

invoked from within

"expect {

-re $reprompt {}

-re "\[\n\r]+" { exp_continue }

}"

(procedure "run_commands" line 9)

invoked from within

"run_commands $prompt $command"

("foreach" body line 148)

invoked from within

"foreach router [lrange $argv $i end] {

set router [string tolower $router]

send_user "$router\n"



# device timeout

set timeout [find t..."

(file "/mnt/iscsi/apps/rancid/bin/hlogin" line 594)

---------------------------------------------------------------

I don't know how much of this is relevant for you my apologizes I just
grabbed a snip from the log file.



"expect {re "\[\n\r]+"md{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

}"-b-re $repromptrun{}ot found

(pro-re "\[\n\r]+"mm{ exp_continue }

}"voked from withind(s): show stack,show module,show flash,show
version,show system-information,write term,show system information

(procedure "run_commands" line 9)

invoked from withine 148)

"run_commands $prompt $command"w stack,show module,show flash,show
version,show system-information,write term,show system information

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"intolower $router]show module,show flash,show
version,show system-information,write term,show system information

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"g tolower $router]

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }""t.{ exp_continue }ern: parentheses () not balanced

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[in" line 594)

]+} { exp_continue }""mm{ exp_continue }ern: parentheses () not balanced

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }""mm{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

invoked from withine{}48)found

"expect {re "\[\n\r]+"mm{ exp_continue }

}" -re $reprompt {}

(pro-re "\[\n\r]+"mm{ exp_continue }

}"voked from withine 148) $i end] {

(procedure "run_commands" line 9)r]

invoked from withine 148) $i end] {

"run_commands $prompt $command"$router]tern: parentheses () not balanced

("foreach" body line 148) $i end] {login" line 594)

invoked from withintolower $router]tern: parentheses () not balanced

"foreach router [lrange $argv $i end] {login" line 594)

set router [string tolower $router]tern: parentheses () not balanced

send_user "$router\n"s/rancid/bin/hlogin" line 594)

set timeout [find t..."pression pattern: parentheses () not balanced

# device timeouti/apps/rancid/bin/hlogin" line 594)

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[n: parentheses () not balanced

]+} { exp_continue }"/apps/rancid/bin/hlogin" line 594)

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[w module,show flash,show
version,show system-information,write term,show system information

]+} { exp_continue }"un not found

invoked from withind{}): show stack,show module,show flash,show
version,show system-information,write term,show system information

"expect {re "\[\n\r]+"un{ exp_continue }

}" -re $reprompt {}

(pro-re "\[\n\r]+"mm{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

}"voked from withinn not found

(procedure "run_commands" line 9)k,show module,show flash,show
version,show system-information,write term,show system information

invoked from withine 148)ound

"run_commands $prompt $command"

("foreach" body line 148) $i end] {

invoked from withintolower $router]

"foreach router [lrange $argv $i end] {show module,show flash,show
version,show system-information,write term,show system information

set router [string tolower $router]

send_user "$router\n"

set timeout [find t..."pression pattern: parentheses () not balanced

# device timeouti/apps/rancid/bin/hlogin" line 594)

set timeout [find t..."pression pattern: parentheses () not balanced

(file "/mnt/iscsi/apps/rancid/bin/hlogin" line 594)


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read,
disclose copy, circulate or in any other way use the information
contained in this transmission. The information contained in this
transmission may be confidential and/or privileged. If you have received
this transmission in error, please notify the sender immediately and
delete this transmission including any attachments.


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read, disclose copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments.
Mahaffey, Brian
2010-05-21 17:44:12 UTC
Permalink
Rancid 2.3.3 expect 5.43



When rancid runs I am unable to collect data from HP switches via hlogin
I get an error in the log file.

When I manually run hlogin -c 'show run' HP5308-B6-1 I get a device
timeout.

If I run hlogin HP5308-B6-1 rancid logins successfully.

I have tried this on another HP 5406 switch with the same issues.



-bash-3.2$ hlogin HP5308-B6-1

hp5308-b6-1

spawn ssh -c 3des -x -l rancid hp5308-b6-1

***@hp5308-b6-1's password:



ProCurve J4819A Switch 5308xl

Software revision E.11.10



HP5308-B6-1> enable

Password:

HP5308-B6-1#

HP5308-B6-1# exit

HP5308-B6-1> exit

Do you want to log out [y/n]? y



-----------------------------------------------------



-bash-3.2$ hlogin -c 'show run' HP5308-B6-1

hp5308-b6-1

spawn ssh -c 3des -x -l rancid hp5308-b6-1

***@hp5308-b6-1's password:

HP5308-B6-1> enable

Password:

HP5308-B6-1#

HP5308-B6-1# couldn't compile regular expression pattern: parentheses ()
not balanced

while executing

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"

invoked from within

"expect {

-re $reprompt {}

-re "\[\n\r]+" { exp_continue }

}"

(procedure "run_commands" line 9)

invoked from within

"run_commands $prompt $command"

("foreach" body line 148)

invoked from within

"foreach router [lrange $argv $i end] {

set router [string tolower $router]

send_user "$router\n"



# device timeout

set timeout [find t..."

(file "/mnt/iscsi/apps/rancid/bin/hlogin" line 594)

---------------------------------------------------------------

I don't know how much of this is relevant for you my apologizes I just
grabbed a snip from the log file.



"expect {re "\[\n\r]+"md{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

}"-b-re $repromptrun{}ot found

(pro-re "\[\n\r]+"mm{ exp_continue }

}"voked from withind(s): show stack,show module,show flash,show
version,show system-information,write term,show system information

(procedure "run_commands" line 9)

invoked from withine 148)

"run_commands $prompt $command"w stack,show module,show flash,show
version,show system-information,write term,show system information

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"intolower $router]show module,show flash,show
version,show system-information,write term,show system information

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"g tolower $router]

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }""t.{ exp_continue }ern: parentheses () not balanced

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[in" line 594)

]+} { exp_continue }""mm{ exp_continue }ern: parentheses () not balanced

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }""mm{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

invoked from withine{}48)found

"expect {re "\[\n\r]+"mm{ exp_continue }

}" -re $reprompt {}

(pro-re "\[\n\r]+"mm{ exp_continue }

}"voked from withine 148) $i end] {

(procedure "run_commands" line 9)r]

invoked from withine 148) $i end] {

"run_commands $prompt $command"$router]tern: parentheses () not balanced

("foreach" body line 148) $i end] {login" line 594)

invoked from withintolower $router]tern: parentheses () not balanced

"foreach router [lrange $argv $i end] {login" line 594)

set router [string tolower $router]tern: parentheses () not balanced

send_user "$router\n"s/rancid/bin/hlogin" line 594)

set timeout [find t..."pression pattern: parentheses () not balanced

# device timeouti/apps/rancid/bin/hlogin" line 594)

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[n: parentheses () not balanced

]+} { exp_continue }"/apps/rancid/bin/hlogin" line 594)

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[w module,show flash,show
version,show system-information,write term,show system information

]+} { exp_continue }"un not found

invoked from withind{}): show stack,show module,show flash,show
version,show system-information,write term,show system information

"expect {re "\[\n\r]+"un{ exp_continue }

}" -re $reprompt {}

(pro-re "\[\n\r]+"mm{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

}"voked from withinn not found

(procedure "run_commands" line 9)k,show module,show flash,show
version,show system-information,write term,show system information

invoked from withine 148)ound

"run_commands $prompt $command"

("foreach" body line 148) $i end] {

invoked from withintolower $router]

"foreach router [lrange $argv $i end] {show module,show flash,show
version,show system-information,write term,show system information

set router [string tolower $router]

send_user "$router\n"

set timeout [find t..."pression pattern: parentheses () not balanced

# device timeouti/apps/rancid/bin/hlogin" line 594)

set timeout [find t..."pression pattern: parentheses () not balanced

(file "/mnt/iscsi/apps/rancid/bin/hlogin" line 594)


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read,
disclose copy, circulate or in any other way use the information
contained in this transmission. The information contained in this
transmission may be confidential and/or privileged. If you have received
this transmission in error, please notify the sender immediately and
delete this transmission including any attachments.


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read, disclose copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments.
Mahaffey, Brian
2010-06-21 18:10:06 UTC
Permalink
Rancid 2.3.3 expect 5.43



When rancid runs I am unable to collect data from HP switches via hlogin
I get an error in the log file.



When I manually run hlogin -c 'show run' HP5308-B6-1 I get a device
timeout.



If I run hlogin HP5308-B6-1 rancid logins successfully.



I have tried this on another HP 5406 switch with the same issues.



-bash-3.2$ hlogin HP5308-B6-1

hp5308-b6-1

spawn ssh -c 3des -x -l rancid hp5308-b6-1

***@hp5308-b6-1's password:



ProCurve J4819A Switch 5308xl

Software revision E.11.10



HP5308-B6-1> enable

Password:

HP5308-B6-1#

HP5308-B6-1# exit

HP5308-B6-1> exit

Do you want to log out [y/n]? y



-----------------------------------------------------



-bash-3.2$ hlogin -c 'show run' HP5308-B6-1

hp5308-b6-1

spawn ssh -c 3des -x -l rancid hp5308-b6-1

***@hp5308-b6-1's password:

HP5308-B6-1> enable

Password:

HP5308-B6-1#

HP5308-B6-1# couldn't compile regular expression pattern: parentheses ()
not balanced

while executing

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"

invoked from within

"expect {

-re $reprompt {}

-re "\[\n\r]+" { exp_continue }

}"

(procedure "run_commands" line 9)

invoked from within

"run_commands $prompt $command"

("foreach" body line 148)

invoked from within

"foreach router [lrange $argv $i end] {

set router [string tolower $router]

send_user "$router\n"



# device timeout

set timeout [find t..."

(file "/mnt/iscsi/apps/rancid/bin/hlogin" line 594)

---------------------------------------------------------------

I don't know how much of this is relevant for you my apologizes I just
grabbed a snip from the log file.



"expect {re "\[\n\r]+"md{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

}"-b-re $repromptrun{}ot found

(pro-re "\[\n\r]+"mm{ exp_continue }

}"voked from withind(s): show stack,show module,show flash,show
version,show system-information,write term,show system information

(procedure "run_commands" line 9)

invoked from withine 148)

"run_commands $prompt $command"w stack,show module,show flash,show
version,show system-information,write term,show system information

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"intolower $router]show module,show flash,show
version,show system-information,write term,show system information

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"g tolower $router]

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }""t.{ exp_continue }ern: parentheses () not balanced

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[in" line 594)

]+} { exp_continue }""mm{ exp_continue }ern: parentheses () not balanced

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }""mm{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

invoked from withine{}48)found

"expect {re "\[\n\r]+"mm{ exp_continue }

}" -re $reprompt {}

(pro-re "\[\n\r]+"mm{ exp_continue }

}"voked from withine 148) $i end] {

(procedure "run_commands" line 9)r]

invoked from withine 148) $i end] {

"run_commands $prompt $command"$router]tern: parentheses () not balanced

("foreach" body line 148) $i end] {login" line 594)

invoked from withintolower $router]tern: parentheses () not balanced

"foreach router [lrange $argv $i end] {login" line 594)

set router [string tolower $router]tern: parentheses () not balanced

send_user "$router\n"s/rancid/bin/hlogin" line 594)

set timeout [find t..."pression pattern: parentheses () not balanced

# device timeouti/apps/rancid/bin/hlogin" line 594)

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[n: parentheses () not balanced

]+} { exp_continue }"/apps/rancid/bin/hlogin" line 594)

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[w module,show flash,show
version,show system-information,write term,show system information

]+} { exp_continue }"un not found

invoked from withind{}): show stack,show module,show flash,show
version,show system-information,write term,show system information

"expect {re "\[\n\r]+"un{ exp_continue }

}" -re $reprompt {}

(pro-re "\[\n\r]+"mm{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

}"voked from withinn not found

(procedure "run_commands" line 9)k,show module,show flash,show
version,show system-information,write term,show system information

invoked from withine 148)ound

"run_commands $prompt $command"

("foreach" body line 148) $i end] {

invoked from withintolower $router]

"foreach router [lrange $argv $i end] {show module,show flash,show
version,show system-information,write term,show system information

set router [string tolower $router]

send_user "$router\n"

set timeout [find t..."pression pattern: parentheses () not balanced

# device timeouti/apps/rancid/bin/hlogin" line 594)

set timeout [find t..."pression pattern: parentheses () not balanced

(file "/mnt/iscsi/apps/rancid/bin/hlogin" line 594)


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read,
disclose copy, circulate or in any other way use the information
contained in this transmission. The information contained in this
transmission may be confidential and/or privileged. If you have received
this transmission in error, please notify the sender immediately and
delete this transmission including any attachments.


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read,
disclose copy, circulate or in any other way use the information
contained in this transmission. The information contained in this
transmission may be confidential and/or privileged. If you have received
this transmission in error, please notify the sender immediately and
delete this transmission including any attachments.


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read, disclose copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments.
Mahaffey, Brian
2010-06-23 06:09:43 UTC
Permalink
I don't know why but I had a duplicate rancid directory located @
/usr/local/rancid once I removed this directory HP switches were working
perfectly. Eh go figure J



From: rancid-discuss-***@shrubbery.net
[mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Mahaffey,
Brian
Sent: Monday, June 21, 2010 11:10 AM
To: rancid-***@shrubbery.net
Subject: [rancid] couldn't compile regular expression pattern:
parentheses() not balanced





Rancid 2.3.3 expect 5.43



When rancid runs I am unable to collect data from HP switches via hlogin
I get an error in the log file.



When I manually run hlogin -c 'show run' HP5308-B6-1 I get a device
timeout.



If I run hlogin HP5308-B6-1 rancid logins successfully.



I have tried this on another HP 5406 switch with the same issues.



-bash-3.2$ hlogin HP5308-B6-1

hp5308-b6-1

spawn ssh -c 3des -x -l rancid hp5308-b6-1

***@hp5308-b6-1's password:



ProCurve J4819A Switch 5308xl

Software revision E.11.10



HP5308-B6-1> enable

Password:

HP5308-B6-1#

HP5308-B6-1# exit

HP5308-B6-1> exit

Do you want to log out [y/n]? y



-----------------------------------------------------



-bash-3.2$ hlogin -c 'show run' HP5308-B6-1

hp5308-b6-1

spawn ssh -c 3des -x -l rancid hp5308-b6-1

***@hp5308-b6-1's password:

HP5308-B6-1> enable

Password:

HP5308-B6-1#

HP5308-B6-1# couldn't compile regular expression pattern: parentheses ()
not balanced

while executing

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"

invoked from within

"expect {

-re $reprompt {}

-re "\[\n\r]+" { exp_continue }

}"

(procedure "run_commands" line 9)

invoked from within

"run_commands $prompt $command"

("foreach" body line 148)

invoked from within

"foreach router [lrange $argv $i end] {

set router [string tolower $router]

send_user "$router\n"



# device timeout

set timeout [find t..."

(file "/mnt/iscsi/apps/rancid/bin/hlogin" line 594)

---------------------------------------------------------------

I don't know how much of this is relevant for you my apologizes I just
grabbed a snip from the log file.



"expect {re "\[\n\r]+"md{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

}"-b-re $repromptrun{}ot found

(pro-re "\[\n\r]+"mm{ exp_continue }

}"voked from withind(s): show stack,show module,show flash,show
version,show system-information,write term,show system information

(procedure "run_commands" line 9)

invoked from withine 148)

"run_commands $prompt $command"w stack,show module,show flash,show
version,show system-information,write term,show system information

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"intolower $router]show module,show flash,show
version,show system-information,write term,show system information

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }"g tolower $router]

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }""t.{ exp_continue }ern: parentheses () not balanced

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[in" line 594)

]+} { exp_continue }""mm{ exp_continue }ern: parentheses () not balanced

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[

]+} { exp_continue }""mm{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

invoked from withine{}48)found

"expect {re "\[\n\r]+"mm{ exp_continue }

}" -re $reprompt {}

(pro-re "\[\n\r]+"mm{ exp_continue }

}"voked from withine 148) $i end] {

(procedure "run_commands" line 9)r]

invoked from withine 148) $i end] {

"run_commands $prompt $command"$router]tern: parentheses () not balanced

("foreach" body line 148) $i end] {login" line 594)

invoked from withintolower $router]tern: parentheses () not balanced

"foreach router [lrange $argv $i end] {login" line 594)

set router [string tolower $router]tern: parentheses () not balanced

send_user "$router\n"s/rancid/bin/hlogin" line 594)

set timeout [find t..."pression pattern: parentheses () not balanced

# device timeouti/apps/rancid/bin/hlogin" line 594)

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[n: parentheses () not balanced

]+} { exp_continue }"/apps/rancid/bin/hlogin" line 594)

^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[w module,show flash,show
version,show system-information,write term,show system information

]+} { exp_continue }"un not found

invoked from withind{}): show stack,show module,show flash,show
version,show system-information,write term,show system information

"expect {re "\[\n\r]+"un{ exp_continue }

}" -re $reprompt {}

(pro-re "\[\n\r]+"mm{ exp_continue }show module,show flash,show
version,show system-information,write term,show system information

}"voked from withinn not found

(procedure "run_commands" line 9)k,show module,show flash,show
version,show system-information,write term,show system information

invoked from withine 148)ound

"run_commands $prompt $command"

("foreach" body line 148) $i end] {

invoked from withintolower $router]

"foreach router [lrange $argv $i end] {show module,show flash,show
version,show system-information,write term,show system information

set router [string tolower $router]

send_user "$router\n"

set timeout [find t..."pression pattern: parentheses () not balanced

# device timeouti/apps/rancid/bin/hlogin" line 594)

set timeout [find t..."pression pattern: parentheses () not balanced

(file "/mnt/iscsi/apps/rancid/bin/hlogin" line 594)


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read,
disclose copy, circulate or in any other way use the information
contained in this transmission. The information contained in this
transmission may be confidential and/or privileged. If you have received
this transmission in error, please notify the sender immediately and
delete this transmission including any attachments.


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read,
disclose copy, circulate or in any other way use the information
contained in this transmission. The information contained in this
transmission may be confidential and/or privileged. If you have received
this transmission in error, please notify the sender immediately and
delete this transmission including any attachments.


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read,
disclose copy, circulate or in any other way use the information
contained in this transmission. The information contained in this
transmission may be confidential and/or privileged. If you have received
this transmission in error, please notify the sender immediately and
delete this transmission including any attachments.


This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read, disclose copy, circulate or in any other way use the information contained in this transmission. The information contained in this transmission may be confidential and/or privileged. If you have received this transmission in error, please notify the sender immediately and delete this transmission including any attachments.
Roberto Greiner
2010-06-23 13:30:39 UTC
Permalink
Hi,

I know this has been asked, but I haven't seen this question in some time.

Has anyone a working configuration for D-Link switches? In my case I
have some DES-3550 and DGS-3100-24.

Thanks,

Roberto
--
-----------------------------------------------------
Marcos Roberto Greiner

Os otimistas acham que estamos no melhor dos mundos
Os pessimistas tem medo de que isto seja verdade
James Branch Cabell
-----------------------------------------------------
Loading...