Switching

Expand all | Collapse all

Loop detection and handling on EX4200 / EX3200 on trunk ports

Jump to Best Answer
  • 1.  Loop detection and handling on EX4200 / EX3200 on trunk ports

    Posted 09-13-2019 03:08

    Hello, we are replacing an Cisco swith with EX4200 / EX3200. The switch has no access ports, all ports are trunks.

     

    In case of loop in a VLAN, our Cisco isses a MAC FLAPPING warning (SW_MATM-4-MACFLAP_NOTIF). Similar functionality we use on Edge-Core switches, this is called Sticky MAC and prevents re-learning MAC on the wrong port. In both cases, we know that a loop occured and know affected MACs, VLANs and ports.

     

    Is it possible to achieve a similar functinality on *trunk* (!) ports for EX4200 / EX3200 - i.e. some MAC move/flapping, sticky MAC  or any other kind of (indirect) loop notification ?

     

    There is a requirement for spanning tree to be disabled.

     

    For access ports, secure-access-port setting works fine, but for trunks I did not find anything usable.

    Thank you for any ideas.



  • 2.  RE: Loop detection and handling on EX4200 / EX3200 on trunk ports

     
    Posted 09-13-2019 03:38

    Hi Janrovner,

     

    Feature is called "persistent-learning" on Juniper, essentially identical.  Please check this:

    https://www.juniper.net/documentation/en_US/junos/topics/topic-map/understanding_and_using_persistent_mac_learning.html

    https://forums.juniper.net/t5/Ethernet-Switching/Juniper-Persistant-Mac-vs-Cisco-Sticky-Mac/td-p/159586

     

    Hope this helps.

    Regards,
    -r.

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

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



  • 3.  RE: Loop detection and handling on EX4200 / EX3200 on trunk ports
    Best Answer

    Posted 09-16-2019 04:30

    Hello, thank you but unfortunately, it does not work on trunk ports (as I said).

    Is there any other solution? Thank you

     

     

    admin@switch# show interfaces ge-0/0/47.0
    family ethernet-switching {
    port-mode trunk;
    vlan {
    members 1010;
    }
    native-vlan-id 247;
    }
    
    
    
    admin@switch# show | compare
    [edit ethernet-switching-options]
    + secure-access-port {
    + interface ge-0/0/47.0 {
    + persistent-learning;
    + }
    + }
    
    {master:0}[edit]
    admin@switch# commit check
    [edit ethernet-switching-options secure-access-port]
    'interface ge-0/0/47.0'
    Persistent Learning configuration is not allowed for trunk port
    error: configuration check-out failed
    
    

     



  • 4.  RE: Loop detection and handling on EX4200 / EX3200 on trunk ports

     
    Posted 09-21-2019 03:50

    Hi janrover,

     

    If the issue is resolved, request you to please mark the post accordingly.

     

    Hope this helps.

    Regards,
    -r.

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

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

     

     



  • 5.  RE: Loop detection and handling on EX4200 / EX3200 on trunk ports

     
    Posted 09-21-2019 13:00

    @mriyaz wrote:

    Hi janrover,

     

    If the issue is resolved, request you to please mark the post accordingly.

     

    Hope this helps.

    Regards,
    -r.

     


    Did you read his response?