Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

filter

 

Syntax

Hierarchy Level

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Description

Note

On EX Series switches, the group, input-list, output-filter statements are not supported under the [edit interfaces interface-name unit logical-unit-number family inet], [edit interfaces interface-name unit logical-unit-number family inet6], and [edit interfaces interface-name unit logical-unit-number family mpls] hierarchies.

Apply a filter to an interface. You can also use filters for encrypted traffic. When you configure filters, you can configure them under the family ethernet-switching, inet, inet6, mpls, or vpls only.

Options

group filter-group-number—Define an interface to be part of a filter group. The default filter group number is 0.

Range: 0 through 255

input filter-name—Name of one filter to evaluate when packets are received on the interface.

output filter-name—Name of one filter to evaluate when packets are transmitted on the interface.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

interface—To view this statement in the configuration.

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