[rancid] HP / Aruba support

henri hemery <[email protected]> Thu, 31 Oct 2019 10:33:31 -0400
Newsgroups gmane.network.rancid
Message-ID <CAK=LAq1cwm+9UQ7Byd_9=W2OufNzQEOZ7_O=vWC36PzV6tBAhg@mail.gmail.com>
--===============1854296402742097523==
Content-Type: multipart/alternative; boundary="000000000000d483eb059634e4c6"

--000000000000d483eb059634e4c6
Content-Type: text/plain; charset="UTF-8"

Hi,

I would like to know how you manage your local user for Aruba/HP switches,
especially model J9727A
The switches of that model I have are configured to authenticate via radius:

*aaa authentication telnet login radius local*

With this configuration, there is no enable password, but "enable" must be
typed, that's returning this error if I disable autoenable and specify an
enable password:












*invalid command name "do_enable"    while executing"do_enable $enauser
$enapasswd"    ("foreach" body line 150)    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 "/usr/local/rancid/bin/hlogin" line 740)*

I would like to create a local-user with high level so I could activate
autoenable, and get rid of that error, and that's specific user could login
directly in enable mode.
So I tried this command:



* J9727A (config)# aaa authentication local-user "rancid" group "Level-15"
password plaintextNew password for rancid: ********Please retype new
password for rancid: *********

But I am unable to login with rancid user..

Any idea?

--000000000000d483eb059634e4c6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>I woul<font face=3D"arial, sans-ser=
if">d like to know how you manage your local user for Aruba/HP switches, es=
pecially model=C2=A0<span style=3D"color:rgb(0,0,0);white-space:pre-wrap">J=
9727A</span></font></div><div><font color=3D"#000000" face=3D"arial, sans-s=
erif"><span style=3D"white-space:pre-wrap">The switches of that model I hav=
e are configured to authenticate via radius:</span></font></div><div><font =
color=3D"#000000" face=3D"arial, sans-serif"><span style=3D"white-space:pre=
-wrap"><br></span></font></div><div><i><b>aaa authentication telnet login r=
adius local</b></i><font color=3D"#000000" face=3D"arial, sans-serif"><span=
 style=3D"white-space:pre-wrap"><br></span></font></div><div><br></div><div=
>With this configuration, there is no enable password, but &quot;enable&quo=
t; must be typed, that&#39;s returning this error if I disable autoenable a=
nd specify an enable password:</div><div><br></div><div><i><b>invalid comma=
nd name &quot;do_enable&quot;<br>=C2=A0 =C2=A0 while executing<br>&quot;do_=
enable $enauser $enapasswd&quot;<br>=C2=A0 =C2=A0 (&quot;foreach&quot; body=
 line 150)<br>=C2=A0 =C2=A0 invoked from within<br>&quot;foreach router [lr=
ange $argv $i end] {<br>=C2=A0 =C2=A0 set router [string tolower $router]<b=
r>=C2=A0 =C2=A0 send_user &quot;$router\n&quot;<br><br>=C2=A0 =C2=A0 # devi=
ce timeout<br>=C2=A0 =C2=A0 set timeout [find t...&quot;<br>=C2=A0 =C2=A0 (=
file &quot;/usr/local/rancid/bin/hlogin&quot; line 740)</b></i><br></div><d=
iv><i><b><br></b></i></div><div>I would like to create a local-user with hi=
gh level so I could activate autoenable, and get rid of that error, and tha=
t&#39;s specific user could login directly in enable mode.</div><div>So I t=
ried this command:</div><div><br></div><div><b><i>

J9727A

(config)# aaa authentication local-user &quot;rancid&quot; group &quot;Leve=
l-15&quot; password plaintext<br>New password for rancid: ********<br>Pleas=
e retype new password for rancid: ********</i></b><br></div><div><br></div>=
<div>But I am unable to login with rancid user..</div><div><br></div><div>A=
ny idea?</div><div><br></div><div><br></div></div>

--000000000000d483eb059634e4c6--


--===============1854296402742097523==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Rancid-discuss mailing list
[email protected]
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

--===============1854296402742097523==--