Multicast - ip igmp join-group vs ip igmp static-group
When implementing IGMP in a multicast environment, the
ip igmp join-group command is used to cause the interface of a router to join a particular multicast group, and begin receiving multicast traffic.
ip igmp static-group command is similar but serves a slightly different function.
ip igmp join-groupwill cause the interface to actively join a multicast group as a member. That means that the IP address of the interface itself is a receiver of that multicast traffic. The result is an entry in the multicast routing table. The interface is also able to ping the multicast group it has joined.
ip igmp static-groupwill cause the interface to enable hardware switching (or fast switching) of that specific group’s traffic without joining the multicast group itself. The result is that the entry appears in the multicast routing table as before, however, you will be unable to ping the multicast group from that interface, since it is not a member.
Note that the
ip igmp static-group command is syntax for Cisco IOS. The corresponding command for a Nexus device
ip igmp static-oif.