While troubleshooting a Multicast issue, you want to check if traffic from the Multicast source or client is being received by the EX switch.
Apply Firewall Filter to EX switch in order to confirm that Multicast traffic is reaching the EX switch
Two Firewall Filter examples related to the network diagram below are provided in this article:
For detailed information on Firewall Filters for EX Series switches, refer to the Technical Documentation: Firewall Filters for EX Series Switches Overview
[edit] root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-Ingress-Traffic term One from destination-address 224.100.100.100 root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-Ingress-Traffic term One from source-address 192.168.200.10 root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-Ingress-Traffic term One then count Multicast-Source-Counter root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-Ingress-Traffic term One then accept root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-Ingress-Traffic term Default then count Default-Counter
root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-Ingress-Traffic term Default then accept
root@Juniper-L2_EX# set interfaces ge-0/0/15 unit 0 family ethernet-switching filter input Monitor-Ingress-Traffic
root@Juniper-EX# run show firewall Filter: Monitor-Ingress-Traffic Counters: Name Bytes Packets Default-Counter 86 1 Multicast-Source-Counter 0 0
[edit] root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Two from destination-address 224.100.100.100 root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Two from source-address 192.168.100.10 root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Two then count Multicast-Report-Counter root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Two then accept root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Default then count Default-Counter root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Default then accept
[edit] root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Two from destination-address 224.100.100.100 root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Two from source-address 192.168.100.10
root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Two then count Multicast-Report-Counter root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Two then accept root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Default then count Default-Counter
root@Juniper-L2_EX# set firewall family ethernet-switching filter Monitor-ClientReports term Default then accept
This command maps the filter Monitor-ClientReports to the ge-0/0/10 interface (the interface connected to the receiver):
root@Juniper-L2_EX# set interfaces ge-0/0/10 unit 0 family ethernet-switching filter input Monitor-ClientReports
Verifying the Counters:
The following command reports the packets that match the Firewall Filter. In this case, the Multicast-Reports-Counter has 0 matched packets. Therefore, it can be concluded that the Multicast Client IGMP reports are not reaching the EX switch.
[edit] root@Juniper-EX# run show firewall Filter: Monitor-ClientReports Counters: Name Bytes Packets Default-Counter 64 1
Multicast-Report-Counter 0 0
2020-04-30: Updated links and minor changes to the config.