[rancid] Alcatel script, not parsing the commands and/or output well (/partially)

Remko Lodder <[email protected]> Wed, 16 Jan 2019 12:02:14 +0100
Newsgroups gmane.network.rancid
Message-ID <[email protected]>
Hi all,

First of all, thank you for Rancid, it’s a great tool to monitor configuration changes and pushing back changes.

Having Said that;

I fetched some alcatel switches which I modified a little to work on various types . These changes are trivial
changes from upstream so no real changes there actually.

It seems that most switches work just fine, but that one particular switch is not able to keep up  with the
requests. It seems that this specific switch misses commands (like ls and show interface status).
If I look back in the raw output it appears to miss characters:

# how interfaces status
                  ^
ERROR: Invalid entry: “how”

The same goes for ls, where ’s' is the command being send. Or for exit at the end which is send as “xit”.

The scripts are from: https://github.com/buraglio/alurancid (Thanks buraglio) and apart from one switch work
fine it seems.

Switching from SSH to Telnet does not make a difference.
Does someone have an suggestion on where to look?

Thanks
Remko

_______________________________________________
Rancid-discuss mailing list
[email protected]
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEUZm6tSR1fPPy/V/fqMPbslnzjLAFAlw/DzYACgkQqMPbslnz
jLBSBA/+NcdzDQD+NP0Jqhiox9cMgALbFTI7ednL8iYI5l0TbMhuuzMP2Lj5o9Rm
OY2Ob0RMi/apO1SZdtS8T333EuD5QcBRDxE3q4444LRColkxG4oQ5eeg+25PYOz/
IoYjYwpjmpgrsfVIcbpsu8DqSKsXkDizL8rR39C4oZ0wLRf8ZR6xzVNhKR/aUiPZ
mRtqM11oMlZslPmevlMdLgh+Dno9nkixzvxdQP4VAcgnT4+CiVjgEzCtn59JT85q
L3AgxqWBcY9KQvVU0ppiUG91cLuiM7MokhhjbrcMc6TaLX8AsrtpXgHJTv9f7W//
C5LPld8zBYJJdmr31tXYFsoUvwwjj1z8UykUyeNgJInmgqCoKciv/bGqcqq1JUtW
fvpNtYZgaMTCSchDBZDyUMFfAufF/qXSggMPF61DVbieFu9t8mkm4gs1yZk2Vm7g
xYxuO77ua5Id3prOCXQc7xpHJzDC8m59ziLkunOc+mLaNx+41lD/eITnOzoF95TJ
z1To3suvjIUtvHnAUlh3DUZzTjMRxIX0+YL8m/uMmiDAJ7GmAU+n70j8QwjShOHF
NNjhVh+C0P69+xrz/UByOga9p+BTePsown1xrynUbfi/rdYtVofws6Kr5JZgW7tl
VT3SZM2hOXLdQJUeIuy4kX7kg3htMIiEORveWQ3211iLrRzcYIY=
=k2CZ
-----END PGP SIGNATURE-----