[Contents] [Prev] [Next] [Index] [Report an Error]

Specifying Immediate-Leave Host Removal

The immediate-leave statement enables you to specify that the router remove a host from the multicast group as soon as the router receives a leave group message from a host associated with the interface.

Use this statement only on IGMP version 2 (IGMPv2) interfaces to which one IGMP host is connected. If more than one IGMP host is connected to a LAN through the same interface, and one host sends a leave group message, the router removes all hosts on the interface from the multicast group. The router loses contact with the hosts that must remain in the multicast group until they send join requests in response to the router’s next general group membership query.

When enabled on a router running IGMPv2, and after receiving 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 enabled on a router running IGMP version 3 (IGMPv3), and after the router receives a report containing the type BLOCK_OLD_SOURCES, the router suppresses the sending of group-and-source queries but relies on the JUNOS-supported host tracking mechanism to determine whether or not it should remove a particular source group membership from the interface.

To enable immediate leave for an interface, include the immediate-leave statement:

immediate-leave;

You can include this statement at the following hierarchy levels:

Example: IGMP Immediate Leave

Configure IGMP immediate-leave on the interface where you want hosts removed immediately from multicast groups after the router receives a leave group message:

[edit]
protocols {
igmp {
interface ge-1/1/1.0 {
immediate-leave;
}
}
}

[Contents] [Prev] [Next] [Index] [Report an Error]