BFD and Juniper SRX inter-op issue

Justin Cattle j at ocado.com
Tue Aug 10 14:20:13 CEST 2021


Hi,


I have encountered what seems to be a bug of sorts in the Juniper
implementation of BFD in at least their SRX340.

We have no issues with the QFX series, where BFD seems to work as expected
with bird.

I'm wondering if there is anything we can do to handle this issue on the
bird side, or if anyone has any insight that may shed some light on the
behaviour we are seeing.

Here is the issue summary:

   - BFD timers are set quite conservatively
      - interval 4000 ms
      - multiplier 6


   - A BFD session between a bird endpoint and a juniper endpoint is up and
   running at the start - all fine
   - If the you stop bird on the server, after the Detection time [
   currently 24 secs ], the BFD messages from the Juniper show status as Down
   with the Diagnostic message Control Detection Time Expired.  You can then
   start bird on the server again, and the two sides will agree session info
   and BFD status goes Up.  - This is expected.
   - However, if you stop bird, but start it again before the Detection
   time [ currently 24 secs ], like for a service restart, the BFD messages
   from the Juniper never show as Down, and the two sides never agree on a BFD
   session and BFD remains Down on the server but Up on the Juniper. - Should
   a new session be established at this point ?
   - Once the Juniper gets stuck in the BFD status Up state, then you can
   stop the bird for a long time [ over an hour at least ] , and the Juniper
   never seems to notice [ the BFD packets still show state Up ]. - This seems
   to be a bug n the juniper end - why should it never go Down in this state ?
   - If the BFD session info is reset on the Juniper side, then the two
   sides will agree session info and BFD status goes Up.


Does anyone have any thoughts ?

Is there a packet bird can send, gratuitous or not, that can make the
juniper end realise it MUST reinitialize ?
Any config that can be tweaked to help ?


Cheers,
Just

-- 


Notice: 
This email is confidential and may contain copyright material of 
members of the Ocado Group. Opinions and views expressed in this message 
may not necessarily reflect the opinions and views of the members of the 
Ocado Group.

If you are not the intended recipient, please notify us 
immediately and delete all copies of this message. Please note that it is 
your responsibility to scan this message for viruses.

References to the 
"Ocado Group" are to Ocado Group plc (registered in England and Wales with 
number 7098618) and its subsidiary undertakings (as that expression is 
defined in the Companies Act 2006) from time to time. The registered office 
of Ocado Group plc is Buildings One & Two, Trident Place, Mosquito Way, 
Hatfield, Hertfordshire, AL10 9UL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20210810/b96b7d03/attachment.htm>


More information about the Bird-users mailing list