Configuring Traffic-Mirror Actions (C-Web Interface)
Use this action to mirror traffic from a destination to a source or from a source to a destination. You can configure traffic-mirror actions for Junos OS filter input policy rules.
Before you use traffic-mirror actions, you must configure forwarding options on devices running Junos OS for port mirroring and next-hop group. For information about how these features work on the router, see the Junos OS Policy Framework Configuration Guide.
The rule containing a traffic-mirror action must comply with these conditions:
It must be combined with forward actions in the same rule. One of the forward actions must accept the traffic if the source and/or destination IP addresses do not match the conditions.
It contains either no classify-traffic condition or only one classify-traffic condition.
It can be marked for accounting.
To configure a traffic-mirror action:
In the side pane, select a Junos OS filter policy rule.
From the Create new list, select Traffic Mirror. Type a name for the action, and click OK.
Enter information as described in the Help text in the main pane, and click Apply.