Creating a Static IGMP Group

You can configure one or more physical ports to be a permanent (static) member of an IGMP group based on the range or count. You can specify a count from 2 through 256 and up to 255 IP addresses in the range.

The following example configures two static groups starting from 226.0.0.1 using the count option.

device(config)# interface ethernet 1/1/5
device(config-if-e1000-1/1/5)# ip igmp static-group 226.0.0.1 count 2

The following example configures two static groups starting from 226.0.0.1 using the range of IP addresses option.

device(config)# interface ethernet 1/1/5
device(config-if-e1000-1/1/5)# ip igmp static-group 226.0.0.1 to 226.0.0.2

The following example configures two static groups on virtual ports starting from 226.0.0.1 using the count option.

device(config)# interface ethernet 1/1/5
device(config-if-e1000-1/1/5)# ip igmp static-group 226.0.0.1 count 2 ethernet 1/1/5

The following example configures two static groups on virtual ports starting from 226.0.0.1 using the range of IP addresses option.

device(config)# interface ve 10
device(config-vif-10)# ip igmp static-group 226.0.0.1 to 226.0.0.2 ethernet 1/1/5
Note: Static groups are supported on an interface enabled for IGMPv3, but the source address cannot be specified. Only the group address can be specified.
Note: The total number of static IGMP groups that can be configured is 256 per VLAN.

The following example displays the existing static IGMP groups, use the show ip igmp static command. The vrf keyword and vrf-name variable are inserted after the igmp part of the command.

device# show ip igmp vrf eng static

Group Address    Interface Port List
----------------+---------+---------
   229.1.0.12       1/4/1 ethe 1/4/1 
   229.1.0.13       1/4/1 ethe 1/4/1 
   229.1.0.14       1/4/1 ethe 1/4/1 
   229.1.0.92       1/4/1 ethe 1/4/1