[Contents] [Prev] [Next] [Index] [Report an Error]

filter

See the following sections:

filter (Applying to an Interface)

Syntax

filter {
input filter-name;
output filter-name;
}

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 unit 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

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.

Usage Guidelines

See Classifying Packets Based on Multiple Fields and Setting the PLP with a Multifield Classifier; for a general discussion of this statement, see the JUNOS Network Interfaces Configuration Guide.

Required Privilege Level

interface—To view this statement in the configuration.

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

Related Topics

simple-filter

filter (Configuring)

Syntax

filter filter-name {
term term-name {
from {
match-conditions;
}
then {
dscp 0;
forwarding-class class-name;
loss-priority (high | low);
policer policer-name;
three-color-policer {
two-rate policer-name;
}
virtual-channel virtual-channel-name;
}
}
}

Hierarchy Level

[edit firewall family family-name]

Release Information

Statement introduced before JUNOS Release 7.4.

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 255 characters long. To include spaces in the name, enclose it in quotation marks (" ").

The remaining statements are explained separately.

Usage Guidelines

See Classifying Packets Based on Multiple Fields and Setting the PLP with a Multifield Classifier; for a general discussion of this statement, see the JUNOS Policy Framework Configuration Guide.

Required Privilege Level

firewall—To view this statement in the configuration.

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

Related Topics

 simple-filter


[Contents] [Prev] [Next] [Index] [Report an Error]