If a counter still reads 25 MHz after you unplug the cable, the probe point still has a clock. That reading alone cannot distinguish a local board reference from a clock previously recovered from incoming data. Some PHYs switch sources depending on the mode. Others may stop the output after link loss.
Trace the measurement point through the clock selector
First check which clock output modes the specific PHY supports. Read the clock selection, link speed, master or slave role, and link status. Trace the output pin and any buffer to the actual probe point. Record the signal and register values with the link up, after disconnecting, and after reconnecting. Where needed, compare changes in frequency and phase against an independent reference.
Base your conclusion on the device's specified link-loss behavior and the relationship between its clock selection bits and the measured point. If the output stops briefly and then resumes, a steady-state frequency reading misses the transition. Draw the selected reference path in the report and separate evidence from the linked state, the moment of disconnect, and the reconnected state. This shows whether to investigate the local oscillator or the recovered clock path.
For a PHY with a configurable clock output, such as the DP83867, save the register settings and link status for each measurement. Check the sources listed for the output pin in the data sheet to explain why the readings do or do not change after link loss. TI DP83867 data sheet
