28
Step Command
Remarks
1.
Enter system view.
system-view
N/A
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 source the IP addresses for the IGMP reports and leave messages that the IGMP
snooping proxy sends on behalf of its attached hosts.
To configure the source IP addresses for the IGMP messages sent by the proxy 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
}
The default is 0.0.0.0.
4.
Configure the 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 IGMP snooping policies
This section describes how to configure IGMP snooping policies.
Configuration prerequisites
Before you configure IGMP snooping policies, 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.
•
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