Cisco Systems DOC-7814982 Stereo System User Manual


 
17-9
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 17 Configuring IGMP Snooping and MVR
Configuring IGMP Snooping
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
Switch# show mac address-table multicast vlan 1
Vlan Mac Address Type Ports
---- ----------- ---- -----
1 0100.5e00.0203 USER Gi0/1
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.
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 and verify the
configuration:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 130 immediate-leave
Switch(config)# end
Switch# show ip igmp snooping vlan 130
vlan 130
----------
IGMP snooping is globally enabled
IGMP snooping is enabled on this Vlan
IGMP snooping immediate-leave is enabled on this Vlan
IGMP snooping mrouter learn mode is pim-dvmrp on this Vlan
IGMP snooping is running in IGMP_ONLY mode on this Vlan
Disabling IP Multicast-Source-Only Learning
The IP multicast-source-only learning method is enabled by default. The switch learns the IP multicast
group from the IP multicast data stream and only forwards traffic to the multicast router ports.
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.