14.3 Commands for IGMP Snooping
14.3.1 ip igmp snooping vlan
Command: ip igmp snooping vlan <vlan-id>
no ip igmp snooping vlan <vlan-id>
Function: Enable the IGMP Snooping function for the specified VLAN: the "no ip igmp
snooping vlan <vlan-id>" command disables the IGMP Snooping function for the
specified VLAN.
Parameter: <vlan-id> is the VLAN number.
Command mode: Global Mode
Default: IGMP Snooping is disabled by default.
Usage Guide: IGMP Snooping for the switch must be enabled first to enable IGMP
Snooping for the specified VLAN. This command cannot be used with ip igmp snooping
vlan <vlan-id> query command, i.e. either snooping or query can be enabled for one
VLAN, but not both.
Example: Enable IGMP Snooping for VLAN 100 in Global Mode.
Switch(C onfig)#ip igmp snooping vlan 100
14.3.2 ip igmp snooping vlan immediate-leave
Command: ip igmp snooping vlan <vlan-id> immediate-leave
no ip igmp snooping vlan <vlan-id> immediate-leave
Function: Enable the IGMP fast leave function for the specified VLAN: the "no ip igmp
snooping vlan <vlan-id> immediate-leave" command disables the IGMP fast leave
function.
Parameter: <vlan-id> is the VLAN number specified.
Command mode: Global Mode
Default: This function is disabled by default.
Usage Guide: Enabling IGMP fast leave function speeds up the process for port to leave
multicast group. This command is valid only in Snooping, and is not applicable to Query.
Example: Enable the IGMP fast leave function for VLAN 100.
Switch(C onfig)#ip igmp snooping vlan 100 immediate-leave
14.3.3 ip igmp snooping vlan l2-general-querier
Command: ip igmp snooping vlan < vlan-id > l2-general-querier
no ip igmp snooping vlan < vlan-id > l2-general-querier
Function: Set this vlan to layer 2 general querier
555