mac-limit
Syntax
- mac-limit limit action action;
Hierarchy Level
- [edit ethernet-switching-options secure-access-port interface (all | interface-name)]
Release Information
Statement introduced in JUNOS Release 9.0 for EX-series switches.
Description
Number of MAC addresses to dynamically add to the MAC address cache for this interface (port) and action to be taken by the switch if the MAC address learning limit is reached on the interface (port).
Default
The default limit is 5 MAC addresses for each interface (port). The default action is no action (none).
Options
-
limit—Maximum number of MAC addresses.
-
action action—Action to take when the MAC address limit is reached:
- none—No action. This is the default.
- drop—Drop the packet and generate an alarm, an SNMP trap, or a system log entry .
- log—Do not drop the packet but generate an alarm, an SNMP trap, or a system log entry.
- shutdown—Block data traffic on the interface and generate an alarm.
Required Privilege Level
routing—To view this statement in the
configuration.
routing–control—To add this
statement to the configuration.
