The lastmember-queryinterval command configures interval at which an IGMP querier sends IGMP Group-Specific Query messages or IGMP Group-and-Source-Specific Query messages after receiving IGMP Leave messages from hosts.
The undo lastmember-queryinterval command restores the default value.
By default, the interval at which an IGMP querier sends IGMP Group-Specific Query messages or IGMP Group-and-Source-Specific Query messages is 1 second.
Parameter | Description | Value |
---|---|---|
interval | Specifies the interval for sending IGMP Group-Specific Query messages or IGMP Group-and-Source-Specific Query messages. | The value is an integer that ranges from 1 to 5, in seconds. |
Usage Scenario
When the querier receives a Leave message that a host sends to leave a multicast group, the querier periodically sends IGMP Group-Specific Query messages or IGMP Group-and-Source-Specific Query messages to check for other members in the multicast group. The lastmember-queryinterval command sets the interval at which the querier sends Last Member Query messages. The querier stops forwarding multicast data to the group if it receives no Report message from the group within the period specified by interval x robust-value. Here, robust-value is the robustness variable configured using the igmp robust-count or robust-count command.
If the querier does not receive any Report message within the specified period, it considers that the last member has left the group and no longer maintains the membership of this group.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions