2-10
To do… Use the command… Remarks
Enable IGMP Snooping querier igmp-snooping querier Required
By default, IGMP Snooping
querier is disabled.
Configure the interval of
sending general queries igmp-snooping
query-interval seconds
Optional
By default, the interval of
sending general queries is 60
seconds.
Configure the source IP
address of general queries
igmp-snooping
general-query source-ip
{ current-interface |
ip-address }
Optional
By default, the source IP
address of general queries is
0.0.0.0.
Suppressing Flooding of Unknown Multicast Traffic in a VLAN
With IGMP Snooping enabled in a VLAN, multicast traffic for unknown multicast groups is flooded within
the VLAN by default. This wastes network bandwidth and affects multicast forwarding efficiency.
With the unknown multicast flooding suppression function enabled, when receiving a multicast packet
for an unknown multicast group, an IGMP Snooping device creates a nonflooding entry and relays the
packet to router ports only, instead of flooding the packet within the VLAN. If the device has no router
ports, it drops the multicast packet.
Follow these steps to suppress flooding of unknown multicast traffic in the VLAN:
To do… Use the command… Remarks
Enter system view system-view
Enable unknown multicast
flooding suppression igmp-snooping
nonflooding-enable
Required
By default, unknown multicast
flooding suppression
If the function of dropping unknown multicast packets is enabled, you cannot enable unknown multicast
flooding suppression.
Configuring Static Member Port for a Multicast Group
If the host connected to a port is interested in the multicast data for a specific group, you can configure
that port as a static member port for that multicast group.