Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

filter (Applying to a Logical Interface)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
filter {
    group filter-group-number;
    input filter-name;
    input-list [ filter-names ];
    output filter-name;
    output-list [ filter-names ];
}

Hierarchy Level

Protocol-independent firewall filter on MX Series router logical interface:

content_copy zoom_out_map
[edit interfaces interface-name unit logical-unit-number],
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]

All other standard firewall filters on all other devices:

content_copy zoom_out_map
[edit interfaces interface-name unit logical-unit-number family family],
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number family family]

Description

Apply a stateless firewall filter to a logical interface at a specific protocol level.

Options

group filter-group-number

(Only Ex, M, MX, and T Series) Number of the group to which the interface belongs. Range: 1 through 255

input filter-name

Name of one filter to evaluate when packets are received on the interface.

input-list [ filter-names ]

Names of filters to evaluate when packets are received on the interface. Up to 16 filters can be included in a filter input list.

output filter-name

Name of one filter to evaluate when packets are transmitted on the interface.

output-list [ filter-names ]

Names of filters to evaluate when packets are transmitted on the interface. Up to 16 filters can be included in a filter output list.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.

footer-navigation