Configuring the IGMP Snooping Mode and Version for a VLAN
Even if the IGMP mode and version have been configured globally, specifying the mode and version for a VLAN overrides the global settings.
- Enter global configuration mode.
- Create a VLAN.
- Set the IGMP mode to active for a VLAN.
- Set the IGMP version for VLAN 20 to version 3.
- You can specify the IGMP version for individual ports in a VLAN. You can specify a list of ports, a range of ports, or a combination of lists and ranges.
- You can configure static groups to specific ports.
device(config-vlan-20)# multicast static-group 224.1.1.1 count 2 ethernet 1/1/3 ethernet 1/1/5 to 1/1/7
A snooping-enabled VLAN cannot forward multicast traffic to ports that do not receive IGMP membership reports. If clients cannot send reports, you can configure a static group which applies to specific ports. The static group allows packets to be forwarded to the static group ports even though they have no client membership reports.
The following example configures VLAN 20 to run IGMPv3 in active mode with some ports configured specifically to use IGMPv3 with a static group to specific ports.
device# configure terminal device(config)# vlan 20 device(config-vlan-20)# multicast active device(config-vlan-20)# multicast version 3 device(config-vlan-20)# multicast port-version 3 ethernet 1/2/4 to 1/2/6 device(config-vlan-20)# multicast static-group 224.1.1.1 count 2 ethernet 1/1/3 ethernet 1/1/5 to 1/1/7