Dynamically adjusting liveliness detection intervals for periodic network communications
First Claim
1. A method comprising:
- receiving, by a network device, bidirectional forwarding detection (BFD) packets for a BFD session for monitoring connectivity with a peer network device;
determining, by the network device, a weighted moving average in which more recent timing measurements of a series of timing measurements are weighted with greater weights, respectively, relative to earlier timing measurements of the series of timing measurement, the series of timing measurements based on respective receipt times of the BFD packets;
adjusting, by the network device and based on the weighted moving average, a detection multiplier that specifies a multiple of a negotiated transmission time interval for the BFD session to define, at least in part, a session detection time for the BFD session; and
detecting, by the network device and based at least on a failure to receive a subsequent BFD packet for the BFD session within the session detection time for the BFD session, a failure of connectivity with the peer network device.
1 Assignment
0 Petitions
Accused Products
Abstract
In general, techniques are described to dynamically adjust a session detection time defined by a timer in accordance with a bidirectional forwarding detection (BFD) protocol. The techniques utilize existing hardware and BFD software infrastructure. An example network device includes a memory, programmable processor(s), and a control unit configured to execute a timer, receive one or more packets provided by the BFD protocol, detect, based on the received one or more packets, a congestion condition associated with a link via which the network device is coupled to a network, adjust, based on the detected congestion condition, a session detection time defined by the timer, and in response to a failure to receive a packet provided by the BFD protocol within the session detection time defined by the timer, detect a failure associated with the link.
-
Citations
15 Claims
-
1. A method comprising:
-
receiving, by a network device, bidirectional forwarding detection (BFD) packets for a BFD session for monitoring connectivity with a peer network device; determining, by the network device, a weighted moving average in which more recent timing measurements of a series of timing measurements are weighted with greater weights, respectively, relative to earlier timing measurements of the series of timing measurement, the series of timing measurements based on respective receipt times of the BFD packets; adjusting, by the network device and based on the weighted moving average, a detection multiplier that specifies a multiple of a negotiated transmission time interval for the BFD session to define, at least in part, a session detection time for the BFD session; and detecting, by the network device and based at least on a failure to receive a subsequent BFD packet for the BFD session within the session detection time for the BFD session, a failure of connectivity with the peer network device. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A network device comprising:
-
a memory; and a control unit having one or more programmable processors and configured to; execute a timer; receive bidirectional forwarding detection (BFD) packets for a BFD session for monitoring connectivity with a peer network device; determine a weighted moving average in which more recent timing measurements of a series of timing measurements are weighted with greater weights, respectively, relative to earlier timing measurements of the series of timing measurement, the series of timing measurements based on respective receipt times of the BFD packets; adjust, based on the weighted moving average, a detection multiplier that specifies a multiple of a negotiated transmission time interval for the BFD session to define, at least in part, a session detection time for the BFD session; and detect, based at least on a failure to receive a subsequent BFD packet for the BFD session within the session detection time for the BFD session, a failure of connectivity with the peer network device. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable storage medium encoded with instructions that, when executed, cause one or more programmable processors of a network device to:
-
receive bidirectional forwarding detection (BFD) packets for a BFD session for monitoring connectivity with a peer network device; determine a weighted moving average in which more recent timing measurements of a series of timing measurements are weighted with greater weights, respectively, relative to earlier timing measurements of the series of timing measurement, the series of timing measurements based on respective receipt times of the BFD packets; adjust, based on the weighted moving average, a detection multiplier that specifies a multiple of a negotiated transmission time interval for the BFD session to define, at least in part, a session detection time for the BFD session; and detect, based at least on a failure to receive a subsequent BFD packet for the BFD session within the session detection time for the BFD session, a failure of connectivity with the peer network device.
-
Specification