Can't believe nobody has replied
The cable goes through the plastic ring on the rear of the fender, which has often fallen loose, then up through the chromed oval wire loop on the lower triple tree.
Many dealers, and some maintenance techs, route the cable through the brake hose loop on the upper fork too. This is wrong, and causes undue bending and stress on the speedo cable.
Rick