filter (Interfaces)
Syntax
filter { group filter-group-number; input filter-name; input-list [ filter-names ]; output filter-name; output-list [ filter-names ]; }
Hierarchy Level
[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
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.
Release Information
Statement introduced before Junos OS Release 7.4.