Configuring IGMP static groups
The switch will always flood the traffic destined for a group configured as static group. So the hosts will receive the traffic for static groups even if they have not subscribed for that group. You can configure a maximum of 32 IGMP static groups.
Prerequisites
You must be in the interface configuration context, as indicated by the
switch(config-if)#
prompt,
switch(config-if-vlan)#
prompt, or
switch(config-lag-if)#
prompt.
Procedure
Configure an IGMP static group on an interface using the following command.
ip igmp static-group
<MULTICAST-GROUP-IP>
For example, the following command configures an IGMP static multicast group as 239.1.1.1 on interface VLAN 2:
switch# configure terminal switch(config)# interface vlan 2 switch(config-if-vlan)# ip igmp static-group 239.1.1.1
And the following command configures an IGMP static group on interface 1/1/1:
switch# configure terminal switch(config)# interface 1/1/1 switch(config-if)# ip igmp static-group 239.1.1.10
The
no
form of the command unconfigures an IGMP static group.