To apply a filter to egress packets at an interface, use the set firewall filter output interface command in L2/L3 configuration mode. To remove the filter from an egress interface, use the delete form of the command.
set firewall filter filter-name output interface interface-name
delete firewall filter filter-name output interface interface-name
The following example applies the MyFilter filter to egress packets on the ge-1/1/2 interface:
The following example removes the MyFilter filter from egress packets on the ge-1/1/2 interface: