
26
Configuring IGMP snooping proxying
Configuration prerequisites
Before you configure IGMP snooping proxying in a VLAN, complete the following tasks:
•
Enable IGMP snooping in the VLAN
•
Determine the source IP address for the IGMP reports sent by the proxy
•
Determine the 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 you configure an IGMP snooping policy, complete the following tasks: