Technical Documentation

filter

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]

Release Information

Statement introduced before JUNOS 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.


Published: 2010-05-11