![H3C S5120-SI Series Operation Manual Download Page 297](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174297.webp)
2-15
Configuring IGMP Snooping Proxying
Configuration Prerequisites
Before configuring IGMP snooping Proxying in a VLAN, enable IGMP snooping in the VLAN and
prepare the following data:
z
Source IP address for the IGMP reports sent by the proxy
z
Source IP address for the IGMP leave messages sent by the proxy
Enabling IGMP Snooping Proxying
The IGMP snooping Proxying function works on a per-VLAN basis. After you enable the function in a
VLAN, the device works as the IGMP snooping proxy for the downstream hosts and upstream router in
the VLAN.
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: