Dynamically Attaching Statically Created Filters for a Specific Interface Family Type
You can dynamically attach statically created filters for either IPv4 (inet) or IPv6 (inet6) interface types. These filters would apply only to interfaces of the specified type.
Before you can attach a statically created filter using a dynamic profile.
- Create the filters you want to attach.
See the Junos Policy Framework Configuration Guide for detailed information about classic firewall filters and how to create them. See Configuring Fast Update Filters for information about creating fast update filters.
- Create a basic dynamic profile.
To dynamically attach statically created input and output filters:
- Specify the unit family type you want to use when
dynamically attaching the filters.
- For IPv4 interfaces, specify the inet unit family.[edit dynamic-profiles access-profile interfaces ge-1/1/1 unit 1] user@host# set family inet
- For IPv6 interfaces, specify the inet6 unit family.[edit dynamic-profiles access-profile interfaces ge-1/1/1 unit 1] user@host# set family inet6
- For IPv4 interfaces, specify the inet unit family.
- Specify the input filter in the dynamic profile.[edit dynamic-profiles access-profile interfaces ge-1/1/1 unit 1 family inet] user@host# set filter input static-input-filter
- Specify the output filter in the dynamic
profile.

Note: The following example specifies an optional precedence value for the output filter.
[edit dynamic-profiles access-profile interfaces ge-1/1/1 unit 1 family inet] user@host# set filter output static-output-filter precedence 50
Related Topics
- Classic Filters Overview
- Fast Update Filters Overview
- Dynamically Attaching Statically Created Filters for Any Interface Type
- Dynamically Attaching Filters Using RADIUS Variables
- For information about Junos default groups, see the Junos CLI User Guide
- For information about firewall filters, see the Junos Policy Framework Configuration Guide
