- family family-name {
-
- filter filter-name {
- accounting-profile name;
- interface-specific;
- }
-
- prefix-action name {
- count;
- destination-prefix-length prefix-length;
- policer policer-name;
- source-prefix-length prefix-length;
- subnet-prefix-length prefix-length;
- }
-
- simple-filter filter-name {
-
- term term-name {
-
- from {
-
match-conditions;
- }
-
- then {
-
action;
-
action-modifiers;
- }
- }
- }
- }
- [edit firewall],
- [edit logical-systems logical-system-name firewall]
Statement introduced before JUNOS Release 7.4.
Logical systems support introduced in JUNOS Release 9.3.
simple-filter statement introduced in JUNOS Release 7.6.
any family type introduced in JUNOS Release 8.0.
(MX-series routers only) bridge family type introduced in JUNOS Release 8.4.
Configure a firewall filter for IP version 4 (IPv4) or IP version 6 (IPv6) traffic. On the MX-series only, configure a firewall filter for Layer 2 traffic in a bridging environment.
family-name—Version or type of addressing protocol:
The remaining statements are explained separately.
See Configuring the Family Address Type.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.