0

I'm trying to mirror all traffic using the configuration below, but it doesn't seem to be working. Please help.

https://supportportal.juniper.net/s/article/MX-How-to-configure-Layer-2-VPLS-Port-Mirroring?language=en_US

set interfaces ge-1/3/4 encapsulation ethernet-bridge
set interfaces ge-1/3/4 unit 0 family bridge

set bridge-domains PORT-MIRROR1 interface ge-1/3/4.0

set forwarding-options port-mirroring instance PM-INSTANCE-1 input rate 1
set forwarding-options port-mirroring instance PM-INSTANCE-1 family any output interface ge-1/3/4.0

set firewall family any filter MIRROR-ANY-INS1 term 1 then accept
set firewall family any filter MIRROR-ANY-INS1 term 1 then port-mirror-instance PM-INSTANCE-1

set chassis fpc 1 pic 3 port-mirror-instance PM-INSTANCE-1

set interfaces ae2 unit 0 filter input MIRROR-ANY-INS1 
set interfaces ae2 unit 0 filter output MIRROR-ANY-INS1

The ingress and egress traffic is mirrored:

# run show interfaces ae2 extensive | match bps | refresh 1         
---(refreshed at 2023-09-18 10:48:35 ICT)---
  Link-level type: Ethernet, MTU: 9192, Speed: 1Gbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled,
  Minimum links needed: 1, Minimum bandwidth needed: 1bps
   Input  bytes  :           2642988529                 3728 bps
   Output bytes  :            603764001                 3456 bps
   Input  bytes  :                    0                    0 bps
    Statistics        Packets        pps         Bytes          bps
---(refreshed at 2023-09-18 10:48:36 ICT)---

Port Mirror output traffic as below:

# run show interfaces ge-1/3/4 extensive | match bps | refresh 1 
---(refreshed at 2023-09-18 10:48:28 ICT)---
  Link-level type: Ethernet-CCC, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 1000mbps, BPDU Error: None, Loop Detect PDU Error: None,
   Input  bytes  :               438029                    0 bps
   Output bytes  :                    0                    0 bps
        Flow control: Symmetric, Remote fault: Link OK, Local link Speed: 1000 Mbps, Link mode: Full-duplex
                              %            bps     %           usec
     Input  bytes  :                    0                    0 bps
     Output bytes  :                    0                    0 bps

Is something wrong because my port mirror output traffic is nothing?

New contributor
Trí Tâm Nguyễn is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • What platform and which software version are you using? Sep 18 at 21:01

0

Your Answer

Trí Tâm Nguyễn is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.