Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


filter (Configuring)


Hierarchy Level


Configure firewall filters.


filter-name—Name that identifies the filter. This must be a non-reserved string of not more than 64 characters. To include spaces in the name, enclose it in quotation marks (“ ”). Firewall filter names are restricted from having the form __.*__ (beginning and ending with underscores) or __.* (beginning with an underscore.

The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.

Required Privilege Level

firewall—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.

Logical systems support introduced in Junos OS Release 9.3.

physical-interface-filter statement introduced in Junos OS Release 9.6.

Support for the interface-shared statement introduced in Junos OS Release 12.2.