255
Command: ip igmp snooping
no ip igmp snooping
Function: Enable the IGMP Snooping function; the ―no ip igmp snooping‖ command
disables this function.
Command mode: Global Mode
Default: IGMP Snooping is disabled by default.
Usage Guide: Use this command to enable IGMP Snooping, that is permission every
VLAN config the function of IGMP snooping. The ―no ip igmp snooping‖ command
disables this function.
Example: Enable IGMP Snooping.
Switch(config)#ip igmp snooping
24.2.5 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: To configure IGMP Snooping on specified VLAN, the global IGMP
Snooping should be first enabled. Disable IGMP Snooping on specified VLAN with the ―no
ip igmp snooping vlan <vlan-id>‖ command.
Example: Enable IGMP Snooping for VLAN 100 in Global Mode.
Switch(config)#ip igmp snooping vlan 100
24.2.6 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