Comware

 View Only
last person joined: 2 days ago 

Expand all | Collapse all

MAD BFD with 2 devices

This thread has been viewed 1 times
  • 1.  MAD BFD with 2 devices

    Posted Aug 18, 2017 03:25 AM

    Hi,

    I have two 5700 FF devices linked with IRF and want to configure MAD BFD, so I followed the documentation at HPE and H3C but having trouble with the second member, wihich I can not ping and the link is marked as faulty.

    For the MAD link, each of the 2 devices has a SFP tranceiver copper 1Gig T-BASE 1000 plugged in and connected with standard patch cable. Dedicated VLAN 1010 with dedicated net 100.100.100.0/24 for this task.

    [IRF-100]dis vlan 1010
     VLAN ID: 1010
     VLAN type: Static
     Route interface: Configured
     IPv4 address: 100.100.100.7
     IPv4 subnet mask: 255.255.255.0
     Description: BFD-MAD-VLAN_use_only_on_IRF-Stack
     Name: VLAN 1010
     Tagged ports:   None
     Untagged ports:
        Ten-GigabitEthernet1/0/40
        Ten-GigabitEthernet2/0/40
    #
    #
    interface Ten-GigabitEthernet1/0/40
     description BFD-MAD-IF_MEMBER
     port access vlan 1010
    #

    #
    interface Vlan-interface1010
     description BFD-MAD-VLAN__do-not-use-elsewhere
     ip address 100.100.100.7 255.255.255.0
     mad bfd enable
     mad ip address 100.100.100.100 255.255.255.0 member 1
     mad ip address 100.100.100.101 255.255.255.0 member 2
    #
    [IRF-100]dis mad ver
    Multi-active recovery state: No
    Excluded ports (user-configured):
      Ten-GigabitEthernet1/0/40
      Ten-GigabitEthernet2/0/40
    Excluded ports (system-configured):
      FortyGigE1/0/41
      FortyGigE1/0/42
      FortyGigE2/0/41
      FortyGigE2/0/42
    MAD ARP disabled.
    MAD ND disabled.
    MAD LACP disabled.
    MAD BFD enabled interface: Vlan-interface1010
      MAD status                 : Faulty
      Member ID   MAD IP address       Neighbor   MAD status
      1           100.100.100.100/24   2          Faulty
      2           100.100.100.101/24   1          Normal

    I can ping 100.100.100.100 and monitor IP 100.100.100.7  but not 100.100.100.101.  Same with "stp edge-ports" in the interface settings. When I shut down the IRF ports,  can't ping 100.100.100.100 and 107 but not 101 on both sides.  Strange thing.

    Do I need 2 BFD MAD links for the 2 devices??

    Thank you very much!

    Juergen

     



  • 2.  RE: MAD BFD with 2 devices

    MVP GURU
    Posted Aug 19, 2017 06:32 AM

    Just curious...have you tried to disable STP on BFD MAD physical ports? ...something like, per each BDF MAD ports used (so specifically on Ten-GigabitEthernet1/0/40 and Ten-GigabitEthernet2/0/40 in your case), stp disable.

    Port Link Mode and Port Link Type should [*] be, respectively on each BFD MAD physical port, set to port link mode bridge and port access vlan 1010 (a setting, this one, you already have done).

    #
    interface Ten-GigabitEthernet1/0/40
     description BFD-MAD_IRF_Member_1
     port link-mode bridge
     port access vlan 1010
     stp disable
    #
    #
    interface Ten-GigabitEthernet2/0/40
     description BFD-MAD_IRF_Member_2
     port link-mode bridge
     port access vlan 1010
     stp disable
    #

    Have you also checked the SFP Transceiver status on IRF Member 2 Port 2/0/40? Is the Port OK?


    northe wrote: Do I need 2 BFD MAD links for the 2 devices?

    AFAIK no, with only 2 IRF Members...the IRF Stack requires just one single direct link (IRF Member 1 to IRF Member 2) for setting up the BFD MAD feature...that's is especially true because you are using Common Ethernet ports (and not Management Ethernet ports)...that configuration doesn't require an intermediate device just a single direct link between the two IRF Members (see here).

    [*] As reference see here.

    P.S. What Software Version is your IRF Stack currently running on? latest version Comware 7.10 R2432P03 fixed a (and also incorporates various previous) BFD MAD related issue.


     



  • 3.  RE: MAD BFD with 2 devices

    Posted Aug 30, 2017 07:12 AM

    Hi,

    sorry for the delay.

    The 5700 knows only link-type access, hybrid and trunk. So I followed the manuals and set it to access due to the fact that the frames passes the ports untagged. I also tried to set the "stp edged"-port to disable STP cause  there is no "stp disable" available. When I "undo shutdown" I can see that STP hits the buzzer.

    I am runing the latest available verison r2432p03.

    Afaik it is not possible to assign the management interfaces a vlan, so I am using a regular ethernet port for MAD.

    %Aug 30 12:58:42:078 2017 hp1-100.v170824 IFNET/5/LINK_UPDOWN: Line proto.
    %Aug 30 12:58:42:078 2017 hp1-100.v170824 IFNET/3/PHY_UPDOWN: Vlan-interf.
     %Aug 30 12:58:42:079 2017 hp1-100.v170824 IFNET/5/LINK_UPDOWN: Line prot.
    %Aug 30 12:58:42:145 2017 hp1-100.v170824 IFNET/3/PHY_UPDOWN: Ten-Gigabit.
    %Aug 30 12:58:42:148 2017 hp1-100.v170824 IFNET/5/LINK_UPDOWN: Line proto.
    %Aug 30 12:58:42:149 2017 hp1-100.v170824 LLDP/6/LLDP_CREATE_NEIGHBOR: Ne.
    %Aug 30 12:58:42:149 2017 hp1-100.v170824 STP/6/STP_DETECTED_TC: Instance.
    %Aug 30 12:58:42:155 2017 hp1-100.v170824 STP/4/STP_DISPUTE: Instance 0's.
    %Aug 30 12:58:41:433 2017 hp1-100.v170824 STP/6/STP_DETECTED_TC: -Slot=2;.
    %Aug 30 12:58:41:434 2017 hp1-100.v170824 STP/6/STP_NOTIFIED_TC: -Slot=2;.
    hti%Aug 30 12:58:42:481 2017 hp1-100.v170824 LLDP/6/LLDP_CREATE_NEIGHBOR:.

    Thanks in advance.



  • 4.  RE: MAD BFD with 2 devices

    Posted Sep 25, 2017 08:23 AM

    Hey, did you find how to solve non-existing stp disable command?



  • 5.  RE: MAD BFD with 2 devices

    Posted Sep 25, 2017 12:12 PM

    Hi,

    afaik stp is disabled when edge-port is set.



  • 6.  RE: MAD BFD with 2 devices

    Posted Sep 18, 2018 06:19 AM

    IRF shut all chassis ports when IRF split occurs therefore you have to exclude ports and Vlan dedicate to BFD MAD that will stay UP 

    mad exclude interface GigabitEthernet1/0/1
    mad exclude interface GigabitEthernet2/0/4
    mad exclude interface Vlan-interfacex

    Normally BFD session will be down:

    <Master>dis bfd sess
    Total Session Num: 1 Up Session Num: 0 Init Mode: Active

    IPv4 Session Working Under Ctrl Mode:

    LD/RD SourceAddr DestAddr State Holdtime Interface
    97/0 192.168.5.1 192.168.5.2 Down / Vlanx

     while when IRF occurs (all IRF links are down) BFD session will be UP and you,ll see the logs on console

     LD/RD SourceAddr DestAddr State Holdtime Interface
    97/97 192.168.5.1 192.168.5.2 UP/ Vlanx


    #BFD
    #MAD