interfaces <interface> ip igmp last-member-query-count <count>
Manually sets the last member query count value.
The router sends two IGMP Query messages, after which it considers the host to have left the group.
- interface
- The type of interface. For a list of supported interfaces and detailed syntax, see interfaces <interface> ip igmp.
- count
- The number of times the router sends a Query message after receiving a Leave message. The range is 2 to 7. The default is 2.
Configuration mode
interfaces interface {
ip {
igmp {
last-member-query-count count
}
}
}
Use this command to set the number of times that the router sends a group-specific or source-group specific Query message when it receives a Leave message from a receiver host.
The router uses this Query to determine whether any members of the multicast group remain on the network. The command is sent at the interval set in interfaces <interface> ip igmp last-member-query-interval <interval>. If the router receives no response to the configured number of queries, the router stops forwarding to that network.
Use the set form of this command to set the number of last-member queries sent.
Use the delete form of this command to restore the default value for last-member queries.
Use the show form of this command to show last-member query configuration.