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.
The ip igmp static-group
command is similar but serves a slightly different function.
ip igmp join-group
will 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-group
will 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
.
Links
https://forum.networklessons.com/t/join-group-over-static-oif/26564/2?u=lagapides
https://packetlife.net/blog/2008/jul/21/two-ways-force-igmp-join/