Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

filter (Layer 2 and Layer 3 Interfaces)

Syntax

Hierarchy Level

Description

Apply a firewall filter to traffic transiting a port or Layer 3 interface.

Default

All incoming traffic is accepted unmodified on the port or Layer 3 interface, and all outgoing traffic is sent unmodified from the port or Layer 3 interface.

Options

filter-name—Name of a firewall filter defined at the [edit firewall family family-name filter] hierarchy level.

input—Apply a firewall filter to traffic entering the port or Layer 3 interface.

output—Apply a firewall filter to traffic exiting the port or Layer 3 interface.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 11.1.