[rancid] hlogin support for HP Procurve 5406zl

Jason Ellison infotek at gmail.com
Fri Feb 6 06:07:29 UTC 2009


RANCID 2.3.2a9 does not login to the Procurve 5400zl switch correctly.
 I'm using radius... So this may have changed the prompt.

ProCurve J8697A Switch 5406zl
Software revision K.13.45

Please Enter Login Name: jellison
Please Enter Password:


switch00# sh run | include radius
aaa authentication console login radius local
aaa authentication console enable radius local
aaa authentication telnet login radius
aaa authentication telnet enable radius
aaa authentication web login radius
aaa authentication web enable radius
aaa authentication ssh login radius
aaa authentication ssh enable radius


gnu patch generated via diff -uN

--- bin/hlogin.original.2.3.2a9 2009-02-03 18:35:55.000000000 -0600
+++ bin/hlogin  2009-02-04 00:07:52.000000000 -0600
@@ -666,7 +671,9 @@
     # Figure out prompts
     set u_prompt [find userprompt $router]
     if { "$u_prompt" == "" } {
-       set u_prompt "(Username|login|user name):"
+        #added "Name" for 5406zl
+        #which has the prompt "Please Enter Login Name:"
+       set u_prompt "(Name|Username|login|user name):"
     } else {
        set u_prompt [join [lindex $u_prompt 0] ""]
     }


More information about the Rancid-discuss mailing list