Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

packet-action

Syntax

packet-action action;

Hierarchy Level

[edit bridge-domains bridge-domain-name bridge-options interface interface-name interface-mac-limit limit],[edit bridge-domains bridge-domain-name bridge-options interface-mac-limit limit],[edit logical-systems logical-system-name bridge-domains bridge-domain-name bridge-options interface interface-name interface-mac-limit limit],[edit logical-systems logical-system-name bridge-domains bridge-domain-name bridge-options interface-mac-limit limit],[edit logical-systems logical-system-name routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options interface interface-name interface-mac-limit limit],[edit logical-systems logical-system-name routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options interface-mac-limit limit],[edit logical-systems logical-system-name routing-instances routing-instance-name switch-options interface interface-name interface-mac-limit limit],[edit logical-systems logical-system-name routing-instances routing-instance-name switch-options interface-mac-limit limit],[edit logical-systems logical-system-name switch-options interface-mac-limit limit],[edit protocols l2-learning global-mac-limit limit],[edit routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options interface interface-name interface-mac-limit limit],[edit routing-instances routing-instance-name bridge-domains bridge-domain-name bridge-options interface-mac-limit limit],[edit routing-instances routing-instance-name protocols evpn interface-mac-limit],[edit routing-instances routing-instance-name protocols evpn interface interface-name interface-mac-limit],[edit routing-instances routing-instance-name protocols evpn mac-table-size limit],[edit routing-instances routing-instance-name switch-options interface interface-name interface-mac-limit limit],[edit routing-instances routing-instance-name switch-options interface-mac-limit limit],[edit switch-options interface-mac-limit limit], [edit switch-options interface interface-name interface-mac-limit limit], [edit switch-options interface-mac-limit limit],[edit switch-options interface interface-name interface-mac-limit limit], [edit switch-options interface-mac-limit limit], [edit switch-options mac-table-size limit],[edit switch-options interface interface-name interface-mac-limit limit], [edit vlans vlan-name switch-options interface interface-name interface-mac-limit limit], [edit vlans vlan-name switch-options interface-mac-limit limit], [edit vlans vlan-name switch-options mac-table-size limit][edit vlans vlan-name switch-options interface-mac-limit limit], [edit vlans vlan-name switch-options interface interface-name interface-mac-limit limit],[edit vlans vlan-name switch-options mac-table-size limit]

Release Information

Statement introduced in Junos OS Release 8.4.

Support for the switch-options statement added in Junos OS Release 9.2.

Support for top-level configuration for the virtual-switch type of routing instance added in Junos OS Release 9.2. In Junos OS Release 9.1 and earlier, the routing instances hierarchy supported this statement only for a VPLS instance or a bridge domain configured within a virtual switch.

Support for logical systems added in Junos OS Release 9.6.

[edit switch-options interface interface-name interface-mac-limit limit], [edit switch-options interface-mac-limit limit], [edit switch-options mac-table-size limit], [edit vlans vlan-name switch-options interface interface-name interface-mac-limit limit], [edit vlans vlan-name switch-options interface-mac-limit limit], and [edit vlans vlan-name switch-options mac-table-size limit] hierarchy levels introduced in Junos OS Release 12.3R2 for EX Series switches.

Support for EVPNs introduced in Junos OS Release 13.2 on MX Series 3D Universal Edge Routers.

Support at the [edit switch-options interface interface-name interface-mac-limit limit] hierarchy level and hierarchy levels under [edit vlans vlan-name] introduced in Junos OS Release 13.2X50-D10 for EX Series switches and Junos OS Release 13.2 for the QFX Series.

Description

Specify the action taken when packets with new source MAC addresses are received after the MAC address limit is reached. If this statement is not configured, packets with new source MAC addresses are forwarded by default.

Default

Note: On a QFX Series Virtual Chassis, if you include the shutdown option at the [edit vlans vlan-name switch-options interface interface-name interface-mac-limit packet-action] hierarchy level and issue the commit operation, the system generates a commit error. The system does not generate an error if you include the shutdown option at the [edit switch-options interface interface-name interface-mac-limit packet-action] hierarchy level.

Disabled. The default is for packets for new source MAC addresses to be forwarded after the MAC address limit is reached.

Options

drop

Drop packets with new source MAC addresses, and do not learn the new source MAC addresses.

drop-and-log

(EX Series switches and QFX Series only) Drop packets with new source MAC addresses, and generate an alarm, an SNMP trap, or a system log entry.

log

(EX Series switches and QFX Series only) Hold packets with new source MAC addresses, and generate an alarm, an SNMP trap, or a system log entry.

none

(EX Series switches and QFX Series only) Forward packets with new source MAC addresses, and learn the new source MAC address.

shutdown

(EX Series switches and QFX Series only) Disable the specified interface, and generate an alarm, an SNMP trap, or a system log entry.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Published: 2014-07-23