How can I define multiple port mirroring interfaces on a single chassis and select which traffic is mirrored to each interface on MX Series routers?
Junos OS supports multiple port mirror destinations in MX Series routers. All platforms support multiple source ports (interfaces that need to be mirrored).
- You can port-mirror traffic from a Layer 2 VPN on MX Series routers for PE routers.
- You can port-mirror the outgoing and incoming traffic of a given MX Series interface.
In Junos OS Release 9.6R2 and later, if the following conditions are met, an integrated routing and bridging (IRB) packet can be mirrored as a Layer 2 packet:
- The IRB is associated with the bridge-domain or vpls routing-instance.
- The bridge-domain has a forwarding table filter configured with an action of then port-mirror or then port-mirror-instance instance.
You can disable this Layer 2 IRB port mirroring using the no-irb-layer-2-copy statement at the bridge-domain or the vpls routing-instance hierarchy level.
For more information, click Layer 2 VPNs and VPLS Feature Guide.