20-10
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Chapter 20 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 an interface and verify the configuration:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 1 static 0100.5e00.0203 interface gigabitethernet0/1
Switch(config)# end
Enabling IGMP Immediate-Leave Processing
When you enable IGMP Immediate-Leave processing, the switch immediately removes a port when it
detects an IGMP version 2 leave message on that port. You should use the Immediate-Leave feature only
when there is a single receiver present on every port in the VLAN.
Note Immediate Leave is supported with only IGMP version 2 hosts.
Beginning in privileged EXEC mode, follow these steps to enable IGMP Immediate-Leave processing:
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 processing 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 mrouter vlan vlan-id
or
show mac address-table multicast vlan vlan-id
Verify that the member port is a member of the VLAN multicast
group.
Verify the member port and the MAC 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 processing 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.
Step 5 copy running-config startup-config (Optional) Save your entries in the configuration file.