NOTE: Although host tracking is enabled for IGMPv2 and MLDv1 when you
enable immediate leave, use immediate leave with these versions only when
there is one host on the interface. The reason is that IGMPv2 and MLDv1 use
a report suppression mechanism whereby only one host on an interface sends
a group join report in response to a membership query. The other interested
hosts suppress their reports. The purpose of this mechanism is to avoid a
flood of reports for the same group. But it also interferes with host tracking,
because the router only knows about the one interested host and does not
know about the others.
To enable immediate leave on an interface:
1. Configure immediate leave on the IGMP interface.
[edit protocols IGMP]
user@host# set interface ge-0/0/0.1 immediate-leave
2. Verify the configuration by checking the Immediate Leave field in the output of the
show igmp interface command.
Related
Documentation
Understanding IGMP on page 445•
• show igmp interface
Filtering Unwanted IGMP Reports at the IGMP Interface Level
Suppose you need to limit the subnets that can join a certain multicast group. The
group-policy statement enables you to filter unwanted IGMP reports at the interface
level. When this statement is enabled on a router running IGMP version 2 (IGMPv2) or
version 3 (IGMPv3), after the router receives an IGMP report, the router compares the
group against the specified group policy and performs the action configured in that policy
(for example, rejects the report if the policy matches the defined address or network).
You define the policy to match only IGMP group addresses (for IGMPv2) by using the
policy's route-filter statement to match the group address. You define the policy to match
IGMP (source, group) addresses (for IGMPv3) by using the policy's route-filter statement
to match the group address and the policy's source-address-filter statement to match
the source address.
CAUTION: On MX Series platforms, IGMPv2 and IGMPv3 can or cannot be
configured together on the same interface, depending on the Junos OS release
at your installation. Configuring both together can cause unexpected behavior
in multicast traffic forwarding.
453Copyright © 2017, Juniper Networks, Inc.
Chapter 14: Configuring Internet Group Management Protocol