Configuring IGMP Snooping
Command
Step 4
show ip igmp snooping groups
Step 5
copy running-config startup-config
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.
Immediate Leave is supported only on IGMP Version 2 hosts.
Note
Beginning in privileged EXEC mode, follow these steps to enable IGMP Immediate Leave:
Command
Step 1
configure terminal
Step 2
ip igmp snooping vlan vlan-id
immediate-leave
Step 3
end
Step 4
show ip igmp snooping vlan vlan-id
Step 5
copy running-config startup-config
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:
•
•
Cisco IE 3000 Switch Software Configuration Guide
21-10
You can configure the leave time globally or on a per-VLAN basis.
Configuring the leave time on a VLAN overrides the global setting.
Purpose
Verify the member port and the IP address.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Enable IGMP Immediate Leave on the VLAN interface.
Return to privileged EXEC mode.
Verify that Immediate Leave is enabled on the VLAN interface.
(Optional) Save your entries in the configuration file.
Chapter 21
Configuring IGMP Snooping and MVR
OL-13018-01