The following example creates a flow map policy called policyForFlow1. In this example, the policy statement matches the source address using the source-address-filter statement and matches the group address using the prefix-list-filter.
- [edit policy-options]
- prefix-list permanentEntries1 {
- 232.1.1.0/24;
- }
- policy policyForFlow1 {
-
- from {
- source-address-filter 11.11.11.11/32 exact;
- prefix-list-filter permanentEntries1 orlonger;
- }
- then accept;
- }
![]() |
Note: The addresses must match the configured policy for flow mapping to occur. |
For additional information about creating policy statements, see the JUNOS Policy Framework Configuration Guide.