You need to write a Layer 2 firewall filter to drop inbound frames with a specific source MAC address on an EX Series switch. Where must this filter be applied to take effect?
Layer 2 firewall filters on EX Series switches match frame fields such as source MAC and must be applied under family ethernet-switching, either at the interface input or VLAN input, so the filter processes inbound frames before forwarding decisions.
Why this answer
Layer 2 firewall filters matching MAC addresses or Ethernet headers must be applied to the input of an interface or VLAN using the family ethernet-switching context.