Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

interface-mac-limit

Syntax

interface-mac-limit limit {packet-action drop;}

Hierarchy Level

[edit bridge-domains bridge-domain-name bridge-options],[edit bridge-domains bridge-domain-name bridge-options interface interface-name],[edit logical-systems logical-system-name bridge-domains bridge-domain-name bridge-options],[edit logical-systems logical-system-name bridge-domains bridge-domain-name bridge-options interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options],[edit logical-systems logical-system-name routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options interface interface-name],[edit logical-systems logical-system-name routing-instances routing-instance-name switch-options],[edit logical-systems logical-system-name routing-instances routing-instance-name switch-options interface interface-name],[edit logical-systems logical-system-name switch-options],[edit logical-systems logical-system-name switch-options interface interface-name],[edit routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options],[edit routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options interface interface-name],[edit routing-instances routing-instance-name switch-options],[edit routing-instances routing-instance-name switch-options interface interface-name],[edit switch-options],[edit switch-options],[edit switch-options interface interface-name],[edit switch-options interface interface-name],[edit vlans vlan-name switch-options],[edit vlans vlan-name switch-options interface interface-name]

Release Information

Statement introduced in Junos OS Release 8.4.

Support for the switch-options statement added in Junos OS Release 9.2.

Support for top-level configuration for the virtual-switch type of routing instance added in Junos OS Release 9.2. In Junos OS Release 9.1 and earlier, the routing instances hierarchy supported this statement only for a VPLS instance or a bridge domain configured within a virtual switch.

Support for logical systems added in Junos OS Release 9.6.

[edit switch-options], [edit switch-options interface interface-name], [edit vlans vlan-name switch-options], and [edit vlans vlan-name switch-options interface interface-name] hierarchy levels introduced in Junos OS Release 12.3R2 for EX Series switches.

Description

(MX Series routers or EX Series switches only) Configure a limit to the number of MAC addresses that can be learned from a bridge domain, VLAN, virtual switch, or set of bridge domains or VLANs.

Default

1024 MAC addresses for each logical interface.

Options

limit—Maximum number of MAC addresses learned from an interface.

Range: 1 through 131,071 MAC addresses per interface

The remaining statement is explained separately.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Published: 2013-04-03