Configuring Source IP Address of IGMP Queries
Upon receiving an IGMP query whose source IP address is 0.0.0.0 on a port, the switch does not enlist
that port as a dynamic router port. This may prevent multicast forwarding entries from being correctly
created at the data link layer and cause multicast traffic forwarding failure in the end. When a Layer 2
device acts as an IGMP-Snooping querier, to avoid the aforesaid problem, you are commended to
configure a non-all-zero IP address as the source IP address of IGMP queries.
Follow these steps to configure source IP address of IGMP queries:
To do...
Enter system view
Enter VLAN view
Configure the source address
of IGMP general queries
Configure the source IP
address of IGMP group-specific
queries
The source address of IGMP query messages may affect IGMP querier selection within the segment.
Configuring an IGMP Snooping Policy
Configuration Prerequisites
Before configuring an IGMP Snooping policy, complete the following task:
Enable IGMP Snooping in the VLAN
Before configuring an IGMP Snooping policy, prepare the following data:
ACL rule for multicast group filtering
The maximum number of multicast groups that can pass the ports
Configuring a Multicast Group Filter
On an IGMP Snooping–enabled switch, the configuration of a multicast group allows the service
provider to define restrictions on multicast programs available to different users.
In an actual application, when a user requests a multicast program, the user's host initiates an IGMP
report. Upon receiving this report message, the switch checks the report against the configured ACL
rule. If the port on which the report was received can join this multicast group, the switch adds an entry
for this port in the IGMP Snooping forwarding table; otherwise the switch drops this report message.
Any multicast data that has failed the ACL check will not be sent to this port. In this way, the service
provider can control the VOD programs provided for multicast users.
Use the command...
system-view
vlan vlan-id
igmp-snooping general-query source-ip
{ current-interface | ip-address }
igmp-snooping special-query source-ip
{ current-interface | ip-address }
1-14
Remarks
—
—
Optional
0.0.0.0 by default
Optional
0.0.0.0 by default