Firewall Filter Match Conditions for Protocol-Independent Traffic
You can configure a firewall filter with match conditions for
protocol-independent traffic (family any).
To apply a protocol-independent firewall filter to a logical
interface, configure the filter statement under the logical
unit.
Table 1 describes the match-conditions you can configure at the [edit firewall family any filter filter-name term term-name from] hierarchy level.
Match Condition |
Description |
|---|---|
|
|
Match the egress interface of the packet. Applicable for filters applied to output (egress) traffic. |
|
|
Match the forwarding class of the packet. Specify For information about forwarding classes and router-internal output queues, see Understanding How Forwarding Classes Assign Classes to Output Queues. |
|
|
Do not match on the forwarding class. For details, see the
|
|
|
Match the interface on which the packet was received. Note:
If you configure this match condition with an interface that does not exist, the term does not match any packet. |
|
|
Match the interface on which the packet was received to the specified interface set. To define an interface set, include the
|
|
|
Match the packet loss priority (PLP) level. Specify a single level or multiple levels: For IP traffic you must include the For information about the |
|
|
Do not match the PLP level. For details, see the
|
|
|
Match if the MPLS label is the bottom of the stack (i.e., the last label before the payload). Applicable for filters applied to MPLS traffic. |
|
|
Match the length of the received packet, in bytes. The length refers only to the IP packet, including the packet header, and does not include any Layer 2 encapsulation overhead. You can also specify a range of values to be matched. |
|
|
Do not match on the received packet length, in bytes. For details,
see the |
|
|
Match the length of the received packet, in bytes. The length refers only to the IP packet, including the packet header, and does not include any Layer 2 encapsulation overhead. You can also specify a range of values to be matched. |
|
|
Match packets based on a predefined policy map. You must specify the
exact name of a configured policy map. The name must match a policy
map defined at the |
|
|
Exclude packets that match a predefined policy map. You must specify
the exact name of a configured policy map. The name must match a
policy map defined at the |
|
|
Match the VLAN ID of the packet. The range is 0 - 4095. |
Platform-Specific Behavior
Use Feature Explorer to confirm platform and release support for specific features.
Use the following table to review platform-specific behavior for your platform:
|
Platform |
Difference |
|---|---|
|
MX Series Routers |
On MX Series routers, attach a protocol-independent firewall
filter to a logical interface by configuring the
On all other supported devices, attach a protocol-independent
firewall filter to a logical interface by configuring the
|