Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?



Syntax (EX Series and QFX Series)

Syntax (SRX Series)

Hierarchy Level

For EX Series and QFX Series switches:

For SRX Series Firewalls:


Configure Ethernet switching protocol family information for the logical interface. Changes default Layer 2 forwarding behavior.

The remaining statements are explained separately. See CLI Explorer.


You must configure a logical interface to be able to use the physical device.


  • block-non-ip-all—Block all Layer 2 non-IP and non-ARP traffic, including multicast and broadcast traffic.

  • bpdu-vlan-flooding—Set 802.1D bridge protocol data unit (BPDU) flooding based on VLAN on which BPDU originate. The default behavior is to receive BPDUs and then flood BPDUs out to all active ports on the SRX Series Firewalls.

  • bypass-non-ip-unicast—Allow all Layer 2 non-IP traffic to pass through the device.

  • no-packet-flooding—Stop IP flooding and send ARP or ICMP requests to discover the destination MAC address for a unicast packet.


    On all SRX Series Firewalls in transparent mode, packet flooding is enabled by default. If you have manually disabled packet flooding with the set security flow ethernet-switching no-packet-flooding command, then multicast packets such as OSPFv3 hello packets are dropped.

    • no-trace-route—Do not send ICMP requests to discover the destination MAC address for a unicast packet. Only ARP requests are sent. This option only allows the device to discover the destination MAC address for a unicast packet if the destination IP address is in the same subnetwork as the ingress IP address.


The block-non-ip-all and bypass-non-ip-unicast options cannot be configured at the same time.

Required Privilege Level

interface—To view this statement in the configuration.interface-control—To add this statement to the configuration.

security—To view this in the configuration.

security-control—To add this to the configuration.

Release Information

Statement introduced in Junos OS Release 9.5.