filter
Syntax
- filter filter-name {
- accounting-profile name;
- interface-specific;
- physical-interface-filter;
-
- term term-name {
- filter filter-name;
-
- from {
- match-conditions;
- }
-
- then {
- action;
- action-modifiers;
- }
- }
- }
Hierarchy Level
Release Information
Statement introduced before JUNOS Release 7.4.
Logical systems support introduced in JUNOS Release 9.3.
physical-interface-filter statement introduced in JUNOS Release 9.6.
Description
Configure firewall filters.
Options
-
filter-name—Name that identifies the filter. The name can contain letters, numbers, and hyphens (-) and can be up to 64 characters long. To include spaces in the name, enclose it in quotation marks (“ ”).
-
The remaining statements are explained separately.
Usage Guidelines
See Configuring Standard Firewall Filters and Example: Configuring CoS for a PBB Network on MX Series Routers.
Required Privilege Level
firewall—To view this statement in the configuration.
firewall-control—To add this statement to the configuration.

