You may limit the L2 multicast using firewall filters..you may change the filters with appropriate terms as per your requirements..
filter drop_multicast
{
term 1
{
from
{
destination-mac-address
01:00:5e:00:00:00/40;
}
}
then accept;
}
term 2
{
from
{
destination-mac-address
01:00:5e:00:00:00/24;
}
}
then discard;
}
term 3
{ then accept;
}
}
Also, you may check the firewall filter match criteria as follows.. https://www.juniper.net/documentation/en_US/junos/topics/reference/general/firewall-filter-match-conditions-for-layer-2-bridging-traffic.html After creating the filter, apply it on the desired vlans as input direction..note that, there is implicit deny at the end of filter..