[an error occurred while processing this directive] [an error occurred while processing this directive]

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.

The default value for the action option was changed in JUNOS Release 9.5 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 action is drop.

Options

limit—Maximum number of MAC addresses.

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

  • 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—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.


Updated: 2009-04-02

[an error occurred while processing this directive]