Chapter 23
  |  Multicast Filtering Commands
IGMP Snooping
–  557  –
◆
This command is only effective if IGMP snooping is enabled, and IGMPv2 or 
IGMPv3 snooping is used. 
Example 
The following shows how to enable immediate leave.
Console(config)#ip igmp snooping vlan 1 immediate-leave
Console(config)#
ip igmp snooping vlan
last-memb-query-
count
This command configures the number of IGMP proxy group-specific or group-and-
source-specific query messages that are sent out before the system assumes there 
are no more local members. Use the 
no
 form to restore the default.
Syntax 
ip igmp snooping vlan
 vlan-id 
last-memb-query-count
 count
no ip igmp snooping vlan
 vlan-id 
last-memb-query-count
vlan-id - VLAN ID (Range: 1-4094) 
count - The number of proxy group-specific or group-and-source-specific 
query messages to issue before assuming that there are no more group 
members. (Range: 1-255)
Default Setting 
2 
Command Mode 
Global Configuration
Command Usage 
This command will take effect only if IGMP snooping proxy reporting or IGMP 
querier is enabled (page 548).
Example 
Console(config)#ip igmp snooping vlan 1 last-memb-query-count 7
Console(config)#