I prefer replacing the cable, but that is not always possible.
I have swapped the inner drive cable.
* Be sure it is an exact match, diameter, end drive shape, and length.
* Be sure it is lubricated.

* The cable nut must be fully seated to the cluster.
Note: Some older (w123 and earlier) cars have two cables passing through a cruise control speed sensor, both cables need to be lubricated and all union nuts fully seated.
This link should help you with further research.
Instrument cluster, Odometer, Speedometer, Tachometer links
http://www.peachparts.com/shopforum/diy-links-parts-category/188540-instrument-cluster-odometer-speedometer-tachometer-links.html
.
__________________
ASE Master Mechanic
Prototype R&D/testing:
Thermal & Aerodynamic System Engineering (TASE) Senior vehicle instrumentation technician.
Noise Vibration and Harshness (NVH).
Dynamometer.
Heat exchanger durability.
HV-A/C Climate Control.
Vehicle build.
Fleet Durability
Technical Quality Auditor.
Automotive Technical Writer
1985 300SD
1983 300D
https://www.boldegoist.com/