The set protocols igmp-snooping last-member-query-count command configures the number of times that the querier sends a group-specific query message.
set protocols igmp-snooping last-member-query-count <last-member-query-count>
Specifies the number of times that the querier sends a group-specific query message. The value is an integer ranges from 1 to 7.
The default value is 2.
When the switch receives an IGMP leave message from a host, it sends the group-specific query messages to query whether the particular multicast group still has members and starts the aging timer for the member port. The aging time is calculated using the following formula: Aging time = last-member-query-count × last-member-query-interval + max-response-time. The set protocols igmp-snooping last-member-query-count command is used to configure the last-member-query-count in the above formula. The last-member-query-interval can be configured using the set protocols igmp-snooping last-member-query-interval command. The max-response-time can be configured using the set protocols igmp-snooping max-response-time command.
If the switch receives a report message from other hosts within the aging time, it continues to maintain memberships of the particular multicast group. However, if the switch receives no report message within the aging time, it will stop maintaining memberships of the particular multicast group and delete the particular multicast group entry in the Layer 2 forwarding table.
admin@Xorplus# set protocols igmp-snooping last-member-query-count 2 admin@Xorplus# commit