21-10
Cisco IE 3000 Switch Software Configuration Guide
OL-13018-01
Chapter 21 Configuring IGMP Snooping and MVR
Configuring IGMP Snooping
To remove the Layer 2 port from the multicast group, use the no ip igmp snooping vlan vlan-id static
mac-address interface interface-id global configuration command.
This example shows how to statically configure a host on a port:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 105 static 224.2.4.12 interface gigabitethernet1/1
Switch(config)# end
Enabling IGMP Immediate Leave
When you enable IGMP Immediate Leave, the switch immediately removes a port when it detects an
IGMP Version
2 leave message on that port. You should only use the Immediate-Leave feature when
there is a single receiver present on every port in the VLAN.
Note Immediate Leave is supported only on IGMP Version 2 hosts.
Beginning in privileged EXEC mode, follow these steps to enable IGMP Immediate Leave:
To disable IGMP Immediate Leave on a VLAN, use the no ip igmp snooping vlan vlan-id
immediate-leave global configuration command.
This example shows how to enable IGMP Immediate Leave on VLAN 130:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 130 immediate-leave
Switch(config)# end
Configuring the IGMP Leave Timer
Follows these guidelines when configuring the IGMP leave timer:
• You can configure the leave time globally or on a per-VLAN basis.
• Configuring the leave time on a VLAN overrides the global setting.
Step 4
show ip igmp snooping groups Verify the member port and the IP address.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
ip igmp snooping vlan vlan-id
immediate-leave
Enable IGMP Immediate Leave on the VLAN interface.
Step 3
end Return to privileged EXEC mode.
Step 4
show ip igmp snooping vlan vlan-id Verify that Immediate Leave is enabled on the VLAN interface.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.