16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
ip igmp snooping vlan
To enable Internet Group Management Protocol (IGMP) snooping on a specific VLAN, use the ip igmp
snooping vlan command in global configuration mode. To disable IGMP snooping on a VLAN interface,
use the no form of this command.
Syntax Description
vlan-id
Defaults
By default, IGMP snooping is enabled when each VLAN is created.
Command Modes
Global configuration
Command History
Release
12.0(5.2)WC(1)
12.2(15)ZJ
Usage Guidelines
This command automatically configures the VLAN if it is not already configured. The configuration is
saved in nonvolatile RAM (NVRAM).
Examples
The following example shows how to enable IGMP snooping on VLAN 2:
Switch(config)# ip igmp snooping vlan 2
The following example shows how to disable IGMP snooping on VLAN 2:
Switch(config)# no ip igmp snooping vlan 2
You can verify your settings by entering the show ip igmp snooping vlan privileged EXEC command.
Related Commands
Command
ip igmp snooping
ip igmp snooping vlan immediate-leave
ip igmp snooping vlan mrouter
ip igmp snooping vlan static
show ip igmp snooping
ip igmp snooping vlan vlan-id
no ip igmp snooping vlan vlan-id
VLAN ID value. The range is from 1 to 1001. Do not enter leading zeroes.
Modification
This command was introduced.
This command was implemented on the following platforms: Cisco 2600
series, Cisco 3600 series, and Cisco 3700 series routers.
Description
Globally enables IGMP snooping. IGMP snooping must
be globally enabled in order to be enabled on a VLAN.
Enables IGMP Immediate-Leave processing.
Configures a Layer 2 port as a multicast router port.
Configures a Layer 2 port as a member of a group.
Displays the IGMP snooping configuration.
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
ip igmp snooping vlan
189