Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

mac-limit

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
mac-limit limit {
    <action action>;
}

Hierarchy Level

content_copy zoom_out_map

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.

Release Information

Statement introduced in Junos OS Release 11.1.

footer-navigation