Port Mirror configuration in Mist UI
How to configure port mirroring in Mist UI
Please follow below steps:
In the UI go to Switches > List > Click in the switch name > Port Mirroring > Check "Override Site/Template Settings" > Add Port Mirror > Configure a name under "Port Analyzer Name" > Add Inputs > Select Network > Output (select output interface or VLAN) > save > Save.
How to Configure Port Mirroring?
Inputs - This specifies the Input source from which the packet should be received so that it can be mirrored. Minimum of 1 input is mandatory for any port mirror config.
[ Note that if VLAN is specified we only have option Ingress and only the packets entering the VLAN will be mirrored. Whereas if ports are specified, we can specify Ingress and Egress option. i.e VLAN input is always ingress by default]
Outputs - This specifies the output to which the packet should be mirrored. Exactly 1 output must be configured for any port mirror config.
You can validate the port mirror is configured by checking the switch events or from the CLI.
Validation:
For more information:
Configuring Port Mirroring and Analyzers | Junos OS | Juniper Networks
https://supportportal.juniper.net/s/article/EX-QFX-Local-and-remote-port-mirror-configuration-example
https://supportportal.juniper.net/s/article/Guidelines-for-Port-Mirroring-and-Analyzers-on-EX2300-EX3400-and-EX4300-Switches