Routing

Expand all | Collapse all

Micro BFD between mx960 and ex4300

Jump to Best Answer
  • 1.  Micro BFD between mx960 and ex4300

    Posted 03-05-2019 07:30

    Hello Guys

    Has anyone had issue with getting micro BFD to work between a Juniper MX960 and a EX4300. Please see config below. The weird part is that on the MX, the state is stuck in "innit" while the switch remains down. Am not sure if this is a hardwars issue or a circuit fault.

     

    MX960

    --------

    set interfaces ae12 aggregated-ether-options bfd-liveness-detection minimum-interval 10
    set interfaces ae12 aggregated-ether-options bfd-liveness-detection neighbor 10.0.17.33
    set interfaces ae12 aggregated-ether-options bfd-liveness-detection local-address 192.168.183.6
    set interfaces ae12 aggregated-ether-options lacp active
    set interfaces ae12 aggregated-ether-options lacp periodic fast

    OUTPUT:

    # run show bfd session address 10.0.17.33 extensive
    Detect Transmit
    Address State Interface Time Interval Multiplier
    10.0.17.33 Init ge-0/2/1 3.000 1.000 3
    Client LACPD, TX interval 0.010, RX interval 0.010
    Local diagnostic NbrSignal, remote diagnostic None
    Remote state Down, version 1
    Replicated
    Session type: Micro BFD
    Min async interval 0.010, min slow interval 1.000
    Adaptive async TX interval 0.010, RX interval 0.010
    Local min TX interval 1.000, minimum RX interval 0.010, multiplier 3
    Remote min TX interval 1.000, min RX interval 0.010, multiplier 3
    Local discriminator 309, remote discriminator 132
    Echo mode disabled/inactive, no-absorb, no-refresh
    Remote is control-plane independent
    Session ID: 0x0

    1 sessions, 1 clients
    Cumulative transmit rate 1.0 pps, cumulative receive rate 1.0 pps

    {master}[edit]

     

    EX4300

    -------

     

    set interfaces ae1 flexible-vlan-tagging
    set interfaces ae1 aggregated-ether-options bfd-liveness-detection minimum-interval 10
    set interfaces ae1 aggregated-ether-options bfd-liveness-detection neighbor 192.168.183.6
    set interfaces ae1 aggregated-ether-options bfd-liveness-detection local-address 10.0.17.33
    set interfaces ae1 aggregated-ether-options lacp passive

    OUTPUT:

    #run show bfd session extensive
    Detect Transmit
    Address State Interface Time Interval Multiplier
    192.168.183.6 Down ge-0/0/45 0.000 1.000 3
    Client LACPD, TX interval 0.010, RX interval 0.010
    Local diagnostic None, remote diagnostic None
    Remote state AdminDown, version 1
    Replicated
    Session type: Micro BFD
    Min async interval 0.010, min slow interval 1.000
    Adaptive async TX interval 0.010, RX interval 0.010
    Local min TX interval 1.000, minimum RX interval 0.010, multiplier 3
    Remote min TX interval 0.000, min RX interval 0.000, multiplier 0
    Local discriminator 132, remote discriminator 0
    Echo mode disabled/inactive, no-absorb, no-refresh
    Session ID: 0x0

    1 sessions, 1 clients
    Cumulative transmit rate 1.0 pps, cumulative receive rate 0.0 pps



  • 2.  RE: Micro BFD between mx960 and ex4300

    Posted 03-05-2019 07:36

    Hello,

    Possible issues to look for:

    1/ uBFD has to use source IP address from lo0.0 -  apart from very recent JUNOS where LAG IP is possible to use as src.IP for uBFD

    2/ udp/6784 has to be permitted in lo0.0 filter

    HTH

    Thx

    Alex

     



  • 3.  RE: Micro BFD between mx960 and ex4300

    Posted 03-05-2019 08:03

    Yes I checked this. there is no firewall filter on the EX switch.

     

    EX4300

    -------

    show configuration interfaces lo0 | display set
    set interfaces lo0 unit 0 family inet address 10.0.17.33/32 primary

     

     

    MX960

    -------

    show configuration interfaces lo0 | display set
    set interfaces lo0 unit 0 family inet address 192.168.183.6/32 primary

     

    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from source-prefix-list protect-box-router-ipv4
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from source-prefix-list protect-box-router-ipv4-logical-systems
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from source-prefix-list protect-box-loopback
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from source-prefix-list protect-box-bfd-micro-neighbors
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from destination-prefix-list protect-box-router-ipv4
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from destination-prefix-list protect-box-router-ipv4-logical-systems
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from destination-prefix-list protect-box-loopback
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from destination-prefix-list protect-box-bfd-micro-neighbors
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from protocol udp
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from source-port 49152-65535
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from destination-port 3784-3785
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd from destination-port 6784
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd then count accept-bfd
    set groups protect-box firewall family inet filter accept-bfd term accept-bfd then accept



  • 4.  RE: Micro BFD between mx960 and ex4300

    Posted 03-05-2019 10:12

    Hi, Do you see if your LAG interfaces UP with current config?

    What are the Junos in both devices ?

     

    //Regards

    Dwivedi



  • 5.  RE: Micro BFD between mx960 and ex4300
    Best Answer

     
    Posted 03-05-2019 19:08

    Hi kchange1010,

     

    Remote state is "AdminDown" on EX.  This is independent Micro BFD on LAG, don't see that supported on EX4300 yet:

    https://apps.juniper.net/feature-explorer/feature-info.html?fKey=6175&fn=BFD%20over%20child%20links%20of%20AE%20or%20LAG%20bundle

     

    About the feature:

    https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/bfd-protocol-configuring-micro-bfd-for-lag.html

     

    Please double check with TAC for support and mark/update the post.

     

    Hope this helps.

     

    Regards,
    -r.

    --------------------------------------------------

    If this solves your problem, please mark this post as "Accepted Solution."
    Kudos are always appreciated :).