After an interface on a multicast device is configured to statically join an IGMP group, the multicast device considers that the interface has static multicast group member and forwards multicast packets to this interface, irrespective of whether hosts connected to this interface request the multicast packets.
If users on a user network segment frequently request multicast data, configure an interface connected to this network segment to statically join an IGMP group. Then, the interface can rapidly respond to users' requests, which shortens the channel switching delay.
Before configuring an IGMP user to statically join a multicast group, configure a unicast routing protocol to ensure that unicast routes are reachable.
The system view is displayed.
The interface view is displayed.
The interface is configured to statically join an IGMP group.
The igmp static-group command can be run only on interfaces that connect to user hosts. The command allows you to add an interface to a single or multiple groups at a time, including source-specific groups.
After an interface is configured to statically join a multicast group, multicast entries generated on this interface never expire. Therefore, the router keeps forwarding multicast data to the interface. If the interface no longer requires multicast data of a group, run the undo igmp static-group command to delete the interface from the group.
The configuration is committed.
# Run the display igmp [ vpn-instance vpn-instance-name | all-instance ] group [ group-address | interface interface-type interface-number ] * [ static ] [ verbose ] command to check information about IGMP group members.
# Run the display igmp group static command. The command output shows information about the multicast groups that interfaces in the public network instance statically join.