Configuring an igmp snooping policy, Configuring a multicast group filter – H3C Technologies H3C S12500 Series Switches User Manual
Page 43

27
Step Command
Remarks
2.
Enter VLAN view.
vlan vlan-id
N/A
3.
Enable IGMP snooping
proxying in the VLAN.
igmp-snooping proxying enable
Disabled by default.
Configuring the source IP addresses for the IGMP messages
sent by the proxy
You can set the source IP addresses in the IGMP reports and leave messages sent by the IGMP snooping
proxy on behalf of its attached hosts.
To configure the source IP addresses for the IGMP messages sent by the IGMP snooping proxy on behalf
of its attached hosts in a VLAN:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan vlan-id
N/A
3.
Configure the source IP
address for the IGMP
reports that the proxy sends.
igmp-snooping report source-ip
{ ip-address | current-interface }
0.0.0.0 by default.
4.
Configure the source IP
address for the IGMP leave
messages that the proxy
sends.
igmp-snooping leave source-ip
{ ip-address | current-interface }
0.0.0.0 by default.
Configuring an IGMP snooping policy
Before you configure an IGMP snooping policy, complete the following tasks:
•
Enable IGMP snooping for the VLAN.
•
Determine the ACL rule for multicast group filtering.
•
Determine the maximum number of multicast groups that a port can join.
Configuring a multicast group filter
On an IGMP snooping-enabled switch, you can configure a multicast group filter to limit multicast
programs available to users.
In an application, when a user requests a multicast program, the user's host initiates an IGMP report.
After receiving this report message, the switch resolves the multicast group address in the report and
looks up the ACL. If a match is found to permit the port that received the report to join the multicast group,
the switch creates an IGMP snooping forwarding entry for the multicast group and adds the port to the
forwarding entry. Otherwise, the switch drops this report message, in which case, the multicast data for
the multicast group is not sent to this port, and the user cannot retrieve the program.