Port mirroring copies IPv4 or IPv6 packets entering or leaving an interface and sends copies of these packets to an external host or packet analyzer for analysis. One port-mirroring method that you can use allows you to mirror selected transit network traffic to remote network analyzers by sending the mirrored packets through overlay tunnels. The enhanced method allows you to use family any filters with the same match conditions that you would use with family inet or family inet6 to selectively mirror the host-outbound traffic.
For IPv4 traffic, you can use the family any filter with these match conditions:
For IPv6 traffic, you can use the family any filter with these match conditions:
| Product / Application | Software | Introduced Release |
|---|---|---|
| MX301 | Junos OS | 25.4R1 |
| MX304 | Junos OS | 24.4R1 |
| MX10003 | Junos OS | 24.4R1 |