<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Ref: <a href="https://www.shrubbery.net/pipermail/rancid-discuss/2021-May/011036.html">https://www.shrubbery.net/pipermail/rancid-discuss/2021-May/011036.html</a></div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Ref: <a href="https://www.shrubbery.net/pipermail/rancid-discuss/2021-May/011038.html">https://www.shrubbery.net/pipermail/rancid-discuss/2021-May/011038.html</a></div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
I found some time to take a look at this.</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Note that this is for ArubaOS-CX, not ArubaOS (which is what Provision on newer products is now referred to as), nor AOS (which is the wireless controller OS: see here
<a href="https://github.com/miken32/rancid-aruba">https://github.com/miken32/rancid-aruba</a>).</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
You can find my current effort here: <a href="https://gist.github.com/jrbinks/c28691f11238c23432394302a948900b">https://gist.github.com/jrbinks/c28691f11238c23432394302a948900b</a></div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Looking to get a real-world feedback for it, then can hand it over for inclusion.</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
It uses the usual clogin as the login script.</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
You will need something like the following in .cloginrc:</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span>add password routername {PLACEHOLDER-NOTUSED}</span>
<div>add identity <span style="background-color:rgb(255, 255, 255);display:inline !important">
routername</span> {~/.ssh/id_rancid}</div>
<div>add user <span style="background-color:rgb(255, 255, 255);display:inline !important">routername</span> rancid</div>
<div>add method <span style="background-color:rgb(255, 255, 255);display:inline !important">routername</span> {ssh}</div>
<div>add noenable <span style="background-color:rgb(255, 255, 255);display:inline !important">routername</span> 1</div>
<span>add cyphertype <span style="background-color:rgb(255, 255, 255);display:inline !important">routername</span> {aes128-ctr}</span><br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
As far as I can see, you have to have your user in the administrators group.</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
And in rancid.types.conf you might want something like:</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
arubaoscx;script;rancid -t arubaoscx
<div>arubaoscx;login;clogin</div>
<div>arubaoscx;module;arubaoscx</div>
<div>arubaoscx;inloop;arubaoscx::inloop</div>
<div>arubaoscx;command;rancid::RunCommand;no page</div>
<div># system commands</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show system</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show version</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show images</div>
<div># hardware commands</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show module</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show environment power-supply</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show environment power-redundancy</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show environment fan</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show environment temperature</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show environment led</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show interface transceiver</div>
<div># system state commands</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show vsx brief</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show vsx status</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show vsx config-consistency</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show vsx lacp configuration</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show vsf</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show vsf detail</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show vsf link</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show vlan</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show ntp status</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show lldp neighbor-info</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show ip ospf</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show ip ospf interface</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show ip ospf neighbors</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show ip ospf statistics</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show bgp ipv4 unicast summary</div>
<div>arubaoscx;command;arubaoscx::CommentOutput;show bgp ipv6 unicast summary</div>
<span>arubaoscx;command;arubaoscx::ShowConfiguration;show running-config</span><br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Tested on:</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Aruba JL658A 6300M<br>
<span>Aruba JL635A 8325-48Y8C</span></div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span>both version 10.5. I will upgrade a box to something more recent and re-test soon. I don't have any of the edge products to test.</span></div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">Let me know how you get on and if any other commands would be useful. Also, there are probably more secrets to be hidden, if you run with filtering of
passwords and community strings.</span><br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
Jethro.</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">.</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">
</span><span style="color: rgb(0, 0, 0); font-family: "Segoe UI", "Helvetica Neue", sans-serif; font-size: 10pt;">. </span><br>
</div>
<div>
<div id="Signature">
<div style="font-family:"Segoe UI","Helvetica Neue",sans-serif; font-size:10pt; color:rgb(0,0,0)">
<p>J<span style="font-family:"segoe ui","helvetica neue",sans-serif; font-size:10pt; color:rgb(0,0,0); background-color:rgba(0,0,0,0)">ethro R Binks, Network Manager,</span><span style="font-family:"segoe ui","helvetica neue",sans-serif; font-size:10pt; color:rgb(0,0,0); background-color:rgba(0,0,0,0)"> </span></p>
<p><span style="color:rgb(0,0,0); font-family:"segoe ui","helvetica neue",sans-serif; font-size:10pt; background-color:rgba(0,0,0,0)">Information Services Directorate, University Of Strathclyde, Glasgow, UK</span></p>
<p><span style="color:rgb(0,0,0); font-family:"Segoe UI","Helvetica Neue",sans-serif; font-size:10pt"><br>
</span></p>
<p><span style="color:rgb(0,0,0); font-family:"segoe ui","helvetica neue",sans-serif; font-size:10pt; background-color:rgba(0,0,0,0)">The University of Strathclyde is a charitable body, registered in</span><span style="font-family:"segoe ui","helvetica neue",sans-serif; font-size:10pt; color:rgb(0,0,0); background-color:rgba(0,0,0,0)"> </span><span style="color:rgb(0,0,0); font-family:"segoe ui","helvetica neue",sans-serif; font-size:10pt; background-color:rgba(0,0,0,0)">Scotland,
number SC015263.</span></p>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Jethro R Binks <jethro.binks@strath.ac.uk><br>
<b>Sent:</b> 04 June 2021 21:48<br>
<b>To:</b> rancid-discuss@shrubbery.net <rancid-discuss@shrubbery.net><br>
<b>Subject:</b> Re: [rancid] Support for new OS (HP) ArubaOS-CX</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
Interest here, but not been able to get development time to look at it.<br>
<br>
Jethro.<br>
<br>
<br>
<br>
<br>
On Wed, 5 May 2021, Viktor Svanström wrote:<br>
<br>
> Hi list,<br>
> I have a Aruba JL581A HPE Aruba 8320 Switch running ArubaOS-CX TL.10.04.2000. At the moment it seems like there is no support for this OS in rancid? Is there any plan to support it or has anyone out there managed to make their own custom login script?<br>
> <br>
> Best regards Viktor<br>
> <br>
> <br>
<br>
. . . . . . . . . . . . . . . . . . . . . . . . .<br>
Jethro R Binks, Network Manager,<br>
Information Services Directorate, University Of Strathclyde, Glasgow, UK<br>
<br>
The University of Strathclyde is a charitable body, registered in<br>
Scotland, number SC015263.</div>
</span></font></div>
</body>
</html>