Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Understanding MAC Limiting and MAC Move Limiting for Port Security on EX Series Switches

    MAC limiting for port security protects against flooding of the Ethernet switching table (also known as the MAC forwarding table or Layer 2 forwarding table). You enable this feature on interfaces (ports).

    MAC move limiting detects MAC movement and MAC spoofing on access interfaces. You enable this feature on VLANs.

    This topic describes the various method of MAC limiting and MAC move limiting for port security:

    MAC Limiting for Port Security by Limiting the Number of MAC Addresses That Can be Learned on Interfaces

    One method to enhance port security is to set the maximum number of MAC addresses that can be learned (added to the Ethernet switching table) on any of the following:

    • A specific access interface (port)
    • All access interfaces
    • A specific access interface on the basis of its membership within a specific virtual LAN (VLAN membership MAC limit)

    Note: Static MAC addresses do not count toward the limit you specify for dynamic MAC addresses.

    When you are configuring the maximum MAC limit for an interface, you can choose the action that occurs on incoming packets when the MAC limit is exceeded. For additional information about configuring MAC limit for an interface, see Configuring MAC Limiting (CLI Procedure) or Configuring MAC Limiting (CLI Procedure).

    MAC Limiting for Port Security by Specifying MAC Addresses That Are Allowed to Access Interfaces

    Another method to enhance port security is to configure specific MAC addresses as allowed MAC addresses for specific access interfaces. Any MAC address that is not in the list of the configured addresses is not learned and the switch logs a message.

    Allowed MAC binds MAC addresses to a VLAN so that the address does not get registered outside the VLAN. If an allowed MAC setting conflicts with a dynamic MAC setting, the allowed MAC setting takes precedence.

    MAC Move Limiting for Port Security by Monitoring MAC Address Moves within VLANs

    MAC move limiting causes the switch to limit and track the frequency with which a MAC address can move to a new interface (port). It can help prevent MAC spoofing, and it can also detect and prevent loops.

    Note: MAC move limiting is not supported on EX9200.

    If a MAC address moves more than the configured number of times within one second, the switch performs the configured action. You can configure MAC move limiting to apply to all VLANs or to a specific VLAN.

    Published: 2014-04-24