[rancid] HP Procurve 2810
Gerhard Mourani
GMourani at prival.ca
Tue Oct 18 19:54:31 UTC 2011
I get the following error:
PC-2810-48G-01# couldn't compile regular expression pattern: parentheses () not balanced
while executing
"expect {
-re $reprompt {}
-re "\[\n\r]+" { exp_continue }
}"
(procedure "run_commands" line 21)
invoked from within
"run_commands $prompt $command"
("foreach" body line 166)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "/usr/bin/clogin" line 743) PC-2810-48G-01# couldn't compile regular expression pattern: parentheses () not balanced
while executing
"expect {
-re $reprompt {}
-re "\[\n\r]+" { exp_continue }
}"
(procedure "run_commands" line 21)
invoked from within
"run_commands $prompt $command"
("foreach" body line 166)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "/usr/bin/clogin" line 743)
From: rancid-discuss-bounces at shrubbery.net [mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Marito ...
Sent: October-18-11 3:50 PM
To: rancid-discuss at shrubbery.net
Subject: Re: [rancid] HP Procurve 2810
Gerhard,
Also check if the Procurve can run "show system". Try doing clogin -c 'show system' IPADDRS.
Regards
________________________________
Date: Tue, 18 Oct 2011 13:43:00 -0600
From: b225ccc at gmail.com<mailto:b225ccc at gmail.com>
To: GMourani at prival.ca<mailto:GMourani at prival.ca>
CC: rancid-discuss at shrubbery.net<mailto:rancid-discuss at shrubbery.net>
Subject: Re: [rancid] HP Procurve 2810
What does router.db look like?
2011/10/18 Gerhard Mourani <GMourani at prival.ca<mailto:GMourani at prival.ca>>
Hello List,
I've problem making Rancid (version 2.3.6) work with HP Procurve 2810 switches. I'm able to connect to the switch correctly but the generated report is empty! If I check inside the log files, I can see the following:
10.1.6.254<http://10.1.6.254/>: found unexpected command - "show system"
10.1.6.254<http://10.1.6.254/>: missed cmd(s): show stack,write term
10.1.6.254<http://10.1.6.254/>: End of run not found
I use the following parameters in my .cloginrc file:
add autoenable 10.1.6.254 1
add user 10.1.6.254 myadmin
add password 10.1.6.254 mypassword myenpassword
Regards,
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss at shrubbery.net<mailto:Rancid-discuss at shrubbery.net>
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
Brian Talley
b225ccc at gmail.com<mailto:b225ccc at gmail.com>
_______________________________________________ Rancid-discuss mailing list Rancid-discuss at shrubbery.net<mailto:Rancid-discuss at shrubbery.net> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20111018/ac3c56d5/attachment.html>
More information about the Rancid-discuss
mailing list