filter
Syntax
filter {group filter-group-number;input filter-name;input-list [ filter-names ];output filter-name;output-list [ filter-names ];}
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Description
Apply a filter to an interface. You can also use filters for encrypted traffic. When you configure filters, you can configure the family 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.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Related Topics
- Applying a Filter to an Interface
- Junos Services Interfaces Configuration Guide
- Junos Policy Framework Configuration Guide
- Junos System Basics Configuration Guide
