Statement introduced in JUNOS Release 9.0 for EX Series switches.
The default value for the action option was changed in JUNOS Release 9.5 for EX Series switches.
The shutdown option was modified in JUNOS release 9.6 for EX Series switches.
Specify the number of MAC addresses to dynamically add to the MAC address cache for this access interface (port) and the action to be taken by the switch if the MAC address learning limit is exceeded on the interface (port).
The default action is drop.
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 an alarm, an SNMP trap, or a system log entry. This is the default.
- log—Do not drop the packet but generate an alarm, an SNMP trap, or a system log entry.
- none—No action.
- shutdown—Disable the interface and generate an alarm. If you have configured the switch with the port-error-disable statement, the disabled interface recovers automatically upon expiration of the specified disable timeout. If you have not configured the switch for autorecovery from port error disabled conditions, 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
routing–control—To add this statement to the configuration.