You can configure a router running IGMP version 2 (IGMPv2) snooping so that, after the router receives a leave group membership message from a host associated with the interface, the router immediately removes the group membership from the interface and suppresses the sending of any group-specific queries for the multicast group.
When IGMP snooping is enabled on a router running IGMP version 3 (IGMPv3) snooping, after the router receives a report with the type BLOCK_OLD_SOURCES, the router suppresses the sending of group-and-source queries but relies on the JUNOS software's host-tracking mechanism to determine whether or not it should remove a particular source group membership from the interface.
![]() |
Note: When configuring this feature on IGMPv2 interfaces, ensure that the IGMP interface has only one IGMP host connected. If more than one IGMPv2 host is connected to a LAN through the same interface, and one host sends a leave message, the router removes all hosts on the interface from the multicast group. The router loses contact with the hosts that should remain in the multicast group until they send join requests in response to the next general multicast listener query from the router. |
To configure the router to immediately remove these groups, include the immediate-leave statement:
-
immediate-leave;
You can configure this statement at the following hierarchy levels: