| CPC H04L 7/0008 (2013.01) [H04J 3/0638 (2013.01)] | 28 Claims |

|
1. A clock port attribute recovery method implemented by a first network device, wherein the clock port attribute recovery method comprises:
setting a port dataset signal fail attribute of a clock port to a first value based on a first event that the clock port does not receive N first clock messages of a first type within a timeout interval, wherein the clock port is coupled to a master port of a second network device, wherein the clock port is a slave port or a passive port, wherein the N first clock messages are synchronization messages, follow-up messages, or delay response messages, wherein N is a positive integer greater than zero, and wherein the first value indicates that a first message is lost on the clock port; and
setting, after setting the port dataset signal fail attribute to the first value, the port dataset signal fail attribute to a second value when determining that the first event is eliminated,
wherein the second value indicates that no message is lost on the clock port.
|