| CPC H04L 45/123 (2013.01) [H04L 47/34 (2013.01)] | 9 Claims |

|
1. A packet sending method, comprising:
acquiring a current sequence number of a current link-state packet;
generating a link-state packet with a transition sequence number according to the current sequence number, wherein the link-state packet with the transition sequence number is newer than a link-state packet with a maximum sequence number and older than a link-state packet with an initial sequence number; and
sending the link-state packet with the transition sequence number;
turning on a transition sequence number capability switch;
wherein generating a link-state packet with a transition sequence number according to the current sequence number comprises:
generating a link-state packet with a transition sequence number according to the current sequence number and a state of the transition sequence number capability switch;
wherein after turning on the transition sequence number capability switch, the method further comprises:
updating information of local devices that do not support the transition sequence number capability in the whole network according to the state of the transition sequence number capability switch; and
flooding out the state of the transition sequence number capability switch, so that other devices update the information of devices that do not support the transition sequence number capability in the whole network of a corresponding device according to the state of the transition sequence number capability switch;
wherein generating a link-state packet with a transition sequence number according to the current sequence number and a state of a transition sequence number capability switch comprises:
generating a link-state packet with a transition sequence number according to the current sequence number and the information of devices that do not support the transition sequence number capability in the whole network.
|