Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

filter (Layer 2 and Layer 3 Interfaces)

Syntax

filter (input | output) filter-name;

Hierarchy Level

[edit interfaces interface-name unit logical-unit-number family family-name]

Release Information

Statement introduced in Junos OS Release 11.1 for the QFX Series.

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.

Published: 2014-07-23

Supported Platforms

Published: 2014-07-23