Filter-Specific Counter and Policer Set Overview
By default, a prefix-specific policer set operates in term-specific mode so that, for a given firewall filter, the Junos OS creates a separate counter and policer set for every filter term that references the prefix-specific action. As an option, you can configure a prefix-specific policer set to operate in filter-specific mode so that a single prefix-specific policer set is used by all terms (within the same firewall filter) that reference the policer.
For an IPv4 firewall filter with multiple terms that reference the same prefix-specific policer set, configuring the policer set to operate in filter-specific mode enables you to count and monitor the activity of the policer set at the firewall filter level.
![]() | Note: Term-specific mode and filter-specific mode also apply to policers. See Filter-Specific Policer Overview. |
To enable a prefix-specific policer set to operate in filter-specific mode, you can include the filter-specific statement at following the hierarchy levels:
- [edit firewall family inet prefix-action prefix-action-name]
- [edit logical-systems logical-system-name firewall family inet prefix-action prefix-action-name]
You can reference filter-specific, prefix-specific policer sets from IPv4 (family inet) firewall filters only.