27
Step Command
Remarks
4.
Configure a source IP
address for the IGMP leave
messages that the proxy
sends.
igmp-snooping leave source-ip
{
ip-address
|
current-interface
}
The default is 0.0.0.0.
Configuring an IGMP snooping policy
Before you configure an IGMP snooping policy, complete the following tasks:
•
Enable IGMP snooping in the VLAN.
•
Determine the ACL rule for multicast group filtering.
•
Determine the maximum number of multicast groups that a port can join.
•
Determine the 802.1p precedence for IGMP messages.
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.
Configuration guidelines
When you configure a multicast group filter in a multicast VLAN, be sure to configure the filter in the
sub-VLANs of the multicast VLAN. Otherwise, the configuration does not take effect.
Configuration procedure
To configure a multicast group filter globally:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter IGMP-snooping view.
igmp-snooping
N/A
3.
Configure a multicast group
filter.
group-policy
acl-number
[
vlan
vlan-list
]
By default, no group filter is
globally configured. That is, the
hosts in a VLAN can join any valid
multicast group.
To configure a multicast group filter on a port:
Step Command
Remarks
1.
Enter system view.
system-view
N/A