Switching

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



Expand all | Collapse all

Interface MAC limit and trunk port

  • 1.  Interface MAC limit and trunk port

    Posted 09-20-2021 15:08
    [edit]# set vlans default switch-options interface-mac-limit 2 packet-action drop-and-log

    Will the above command affect a trunk port that has learned 20+ MACs on this VLAN?


  • 2.  RE: Interface MAC limit and trunk port

    Posted 09-20-2021 19:47
    It affects all interfaces including trunks.

    Elvin


  • 3.  RE: Interface MAC limit and trunk port

    Posted 09-21-2021 10:20
    Thanks Elvin. Is there a way to exclude my trunk ports? I guess I could apply the interface-mac-limit at the interface level for every interface except trunks...is this what you would suggest?


  • 4.  RE: Interface MAC limit and trunk port

    Posted 09-21-2021 15:57
    I think I might have not explain in detail, allow me to do so.

    The command set vlans default switch-options interface-mac-limit 2 packet-action drop-and-logis acting at the vlan hierarchy level for every interface, effectively all interfaces can only learn two MACs. If you want to exclude the trunks, you could be explicit and allow the MAC limit to be enabled for all interfaces, and then disallow the trunk ports with set vlans default switch-options interface xe-0/0/0.0 interface-mac-limit disable.

    HTH,

    Elvin


  • 5.  RE: Interface MAC limit and trunk port

    Posted 30 days ago
    Another options would be to not use the vlan context at all and just set the limit on interfaces(s) without regard to vlan under switch options