Re: [rancid] Dell EMC OS10 switch

Bjørn Skobba <[email protected]> Tue, 5 Nov 2019 09:02:19 +0100
Newsgroups gmane.network.rancid
Message-ID <[email protected]>
--===============8378737679031364406==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_0165D579-1636-4919-BE0F-11F5A2A86FF6"


--Apple-Mail=_0165D579-1636-4919-BE0F-11F5A2A86FF6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On 4 Nov 2019, at 18:27, Howard Jones <[email protected]> wrote:
>=20
> On 04/11/2019 17:12, john heasley wrote:
>> Mon, Nov 04, 2019 at 04:51:23PM +0000, Howard Jones:
>>> I made a slightly-tweaked version of the Force10 type for our Dell
>>> S3048-ON switches.
>>>=20
>>> In etc/rancid.types.conf:
>>>=20
>>> dell10;script;dell10rancid
>>> dell10;login;clogin
>>>=20
>>> And then these are the differences from f10rancid:
>>>=20
>>> A few commands don't exist - removed those. The switch likes to beep
>>> (send ctrl-G) in responses, so I strip control chars out. It also
>>> doesn't have 'end' at the end of the config, so the default 'saw all
>>> commands' stuff didn't work.
>>>=20
>>> Patch is for RANCID 3.7, but hopefully the gist is clear.
>>>=20
>> I haven't looked at Howard's, but will.  However, I am assuming that =
this
>> is Dell NOS 10; maybe there is a difference from OS10 - i do not =
know, but
>> maybe someone will enlighten me.  rancid 3.10 has a dnos10 type that =
is
>> new from another user; maybe the two should be merged.
>=20
> Mine is very much a minimum-viable-changes job, so if NOS10=3D=3DOS10, =
the other version is likely better!
>=20
> I am not the user for these switches, so I don't know much about them =
- I was just asked to get them working with our existing RANCID. Ours =
report version 10.4.1.1 (no prefix or suffix), for what it's worth.

It looks like Dell S3048-ON can use either the =E2=80=9Cold=E2=80=9D =
Force10 FTOS(OS9) or Dell=E2=80=99s OS10 (aka (D)NOS10). As you are =
running the latter, the dnos10 type John mention should work. It is also =
based on a modified version of the f10rancid script. =46rom a quick =
browse of the diff, I think they are pretty much doing the same thing. =
I=E2=80=99m using the dnos10 for our Dell S5296F-ON switches running =
OS10 (version 10.4.x)

/bj=C3=B8rn=

--Apple-Mail=_0165D579-1636-4919-BE0F-11F5A2A86FF6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div>On 4 Nov 2019, at 18:27, Howard Jones &lt;<a =
href=3D"mailto:[email protected]" class=3D"">[email protected]</a>&gt; =
wrote:<br class=3D""><blockquote type=3D"cite" class=3D""><br =
class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">On 04/11/2019 17:12, john =
heasley wrote:</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><blockquote type=3D"cite" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D"">Mon, Nov 04, 2019 at 04:51:23PM =
+0000, Howard Jones:<br class=3D""><blockquote type=3D"cite" class=3D"">I =
made a slightly-tweaked version of the Force10 type for our Dell<br =
class=3D"">S3048-ON switches.<br class=3D""><br class=3D"">In =
etc/rancid.types.conf:<br class=3D""><br =
class=3D"">dell10;script;dell10rancid<br class=3D"">dell10;login;clogin<br=
 class=3D""><br class=3D"">And then these are the differences from =
f10rancid:<br class=3D""><br class=3D"">A few commands don't exist - =
removed those. The switch likes to beep<br class=3D"">(send ctrl-G) in =
responses, so I strip control chars out. It also<br class=3D"">doesn't =
have 'end' at the end of the config, so the default 'saw all<br =
class=3D"">commands' stuff didn't work.<br class=3D""><br class=3D"">Patch=
 is for RANCID 3.7, but hopefully the gist is clear.<br class=3D""><br =
class=3D""></blockquote>I haven't looked at Howard's, but will. =
&nbsp;However, I am assuming that this<br class=3D"">is Dell NOS 10; =
maybe there is a difference from OS10 - i do not know, but<br =
class=3D"">maybe someone will enlighten me. &nbsp;rancid 3.10 has a =
dnos10 type that is<br class=3D"">new from another user; maybe the two =
should be merged.<br class=3D""></blockquote><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">Mine is very much a minimum-viable-changes job, so if =
NOS10=3D=3DOS10, the other version is likely better!</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">I am not the user for these =
switches, so I don't know much about them - I was just asked to get them =
working with our existing RANCID. Ours report version 10.4.1.1 (no =
prefix or suffix), for what it's worth.</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""></div></blockquote></div><br =
class=3D""><div class=3D"">It looks like Dell S3048-ON can use either =
the =E2=80=9Cold=E2=80=9D Force10 FTOS(OS9) or Dell=E2=80=99s OS10 (aka =
(D)NOS10). As you are running the latter, the dnos10 type John mention =
should work. It is also based on a modified version of the f10rancid =
script. =46rom a quick browse of the diff, I think they are pretty much =
doing the same thing. I=E2=80=99m using the dnos10 for our Dell =
S5296F-ON switches running OS10 (version 10.4.x)</div><div class=3D""><br =
class=3D""></div><div class=3D"">/bj=C3=B8rn</div></body></html>=

--Apple-Mail=_0165D579-1636-4919-BE0F-11F5A2A86FF6--


--===============8378737679031364406==
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

--===============8378737679031364406==--