Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

mac-table-size

Syntax

mac-table-size limit {packet-action drop;}

Hierarchy Level

[edit bridge-domains bridge-domain-name bridge-options],[edit logical-systems logical-system-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],[edit logical-systems logical-system-name routing-instances routing-instance-name switch-options],[edit logical-systems logical-system-name switch-options],[edit routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options],[edit routing-instances routing-instance-name switch-options],[edit switch-options][edit vlans vlan-name switch-options]

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.

Support at the [edit vlans vlan-name switch-options] hierarchy level introduced in Junos OS Release 13.2X50-D10 for EX Series switches.

Support at the [edit vlans vlan-name switch-options] hierarchy level introduced in Junos OS Release 13.2 for the QFX Series.

Description

Modify the size of the MAC address table for the bridge domain or VLAN, a set of bridge domains or VLANs associated with a trunk port, or a virtual switch.

Options

limit—Specify the maximum number of addresses in the MAC address table.

Range: (EX Series switches only) 16 through 65,535 MAC addresses; (other devices) 16 through 1,048,575 MAC addresses

Default: (EX Series switches only) 65,536 MAC addresses; (other devices) 5120 MAC addresses

There is no default MAC address limit for the mac-table-size statement at the [edit switch-options] hierarchy level. The number of MAC addresses that can be learned is only limited by the platform, 65,535 MAC addresses for EX Series switches and 1,048,575 MAC addresses for other devices.

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: 2014-07-23