Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

mac-limit

Syntax

mac-limit limit {<action action>;}

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Description

Specify the number of MAC addresses that can be dynamically added to the MAC address cache for this access interface (port) and the action to be taken if the limit is exceeded.

Default

The default action is drop.

Options

limit—Maximum number of MAC addresses.

action action—(Optional) Action to take when the MAC address limit is exceeded:

  • drop—Drop the packet and generate a system log entry. This is the default.
  • log—Do not drop the packet but generate a system log entry.
  • none—No action.
  • shutdown—Disable the interface and generate an alarm. If you configure the switch with the port-error-disable statement, the disabled interface recovers automatically upon expiration of the specified timeout. If this statement is not configured, you can bring up the disabled interfaces by running the clear ethernet-switching port-error command.

Required Privilege Level

routing—To view this statement in the configuration.
routing–control—To add this statement to the configuration.

Published: 2013-01-17