ip igmp static-group
Configures one or more physical ports to be a permanent (static) member of an IGMP group based on the range or count. Manually adds a port to a multicast group.
Syntax
Command Default
The port is not added to multicast group.
Parameters
Modes
Interface configuration mode
Usage Guidelines
You can manually add a multicast group to individual ports only. If the port is a member of a virtual routing and forwarding (VRF) interface, you must add the ports to the group individually.
IGMP Version 3 does not support static IGMP group members.
Static IGMP groups are supported only in Layer 3 mode.
The no form of this command removes the port from the static group.
Examples
The following example manually adds port 1/1/2 to multicast group 224.2.2.2.
device(config)# interface ethernet 1/1/2 device(config-if-e10000-1/1/2)# ip igmp static-group 224.2.2.2
The following example adds port 5/2 that is a member of a VRF interface 1 to multicast group 224.2.2.2.
device(config)# interface ve 1 device(config-vif-1)# ip igmp static-group 224.2.2.2 ethernet 5/2/2
The following example configures two static groups on virtual ports starting from 226.0.0.1, using the count keyword.
device(config)# interface ethernet 1/5/1 device(config-if-e1000-1/5/1)# ip igmp static-group 226.0.0.1 count 2 ethernet 1/5/1
The following example configures two static groups on virtual ports starting from 226.0.0.1, using the to keyword.
device(config)# interface ve 10 device(config-vif-10)# ip igmp static-group 226.0.0.1 to 226.0.0.2 ethernet 1/5/1
The following example configures two static groups starting from 226.0.0.1, using the count keyword.
device(config)# interface ethernet 1/5/1 device(config-if-e1000-1/5/1)# ip igmp static-group 226.0.0.1 count 2