CPC H04W 28/24 (2013.01) [H04W 28/0268 (2013.01); H04W 28/06 (2013.01)] | 19 Claims |
1. A Bidirectional Forwarding Detection (BFD) parameter negotiation method, comprising:
generating, by a first apparatus, a first verification value according to at least one of BFD parameters to be negotiated, wherein the BFD parameters to be negotiated comprise: Detect Mult, Desired Min Tx Interval, and Required Min Rx Interval;
writing, by the first apparatus, the first verification value into a Required Min Echo Rx Interval field of a BFD negotiation packet used for negotiating the BFD parameters to be negotiated, wherein the BFD negotiation packet further comprises a Detect Mult field, a Desired Min Tx Interval field, and a Required Min Rx Interval field respectively carrying the BFD parameters to be negotiated;
sending, by the first apparatus, the BFD negotiation packet to a second apparatus;
receiving, by the first apparatus, a BFD negotiation response packet returned by the second apparatus upon successful negotiation, wherein a Required Min Echo Rx Interval field of the BFD negotiation response packet carries a second verification value; and
checking, by the first apparatus, whether the first verification value and the second verification value match each other; determining, by the first apparatus in response to a case that the first verification value and the second verification value match each other, that the BFD negotiation response packet is a response to the BFD negotiation packet and negotiation of the BFD parameters is not an erroneous negotiation caused by BFD packet disorder; and determining, by the first apparatus in response to a case that the first verification value and the second verification value do not match each other, that the BFD negotiation response packet is not the response to the BFD negotiation packet and the negotiation of the BFD parameters is an erroneous negotiation caused by BFD packet disorder.
|