1-16
Follow these steps to enable IGMP Snooping Proxying in a VLAN:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan vlan-id
—
Enable IGMP Snooping
Proxying in the VLAN
igmp-snooping proxying
enable
Required
Disabled by default.
Configuring a Source IP Address 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.
Follow these steps 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:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter VLAN view
vlan vlan-id
—
Configure a source IP
address for the IGMP reports
sent by the proxy
igmp-snooping report
source-ip
{
ip-address
|
current-interface
}
Required
The default is 0.0.0.0.
Configure a source IP
address for the IGMP leave
messages sent by the proxy
igmp-snooping leave
source-ip
{
ip-address
|
current-interface
}
The default is 0.0.0.0.
Configuring an IGMP Snooping Policy
Configuration Prerequisites
Before configuring an IGMP Snooping policy, complete the following task:
z
Enable IGMP Snooping in the VLAN
Before configuring an IGMP Snooping policy, prepare the following data:
z
ACL rule for multicast group filtering
z
The maximum number of multicast groups that can pass the ports
z
802.1p precedence for IGMP messages
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.