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 for the VLAN.
igmp-snooping
proxy
enable
By default, IGMP snooping
proxying is disabled for a VLAN.
Configuring parameters for IGMP messages
This section describes how to configure parameters for IGMP messages.
Configuration prerequisites
Before you configure parameters for IGMP messages, complete the following tasks:
•
Enable IGMP snooping for the VLAN or VSI.
•
Determine the source IP address of IGMP general queries.
•
Determine the source IP address of IGMP group-specific queries.
•
Determine the source IP address of IGMP reports.
•
Determine the source IP address of IGMP leave messages.
•
Determine the 802.1p priority of IGMP messages.
Configuring source IP addresses for IGMP messages
The IGMP snooping querier might send IGMP general queries with the source IP address 0.0.0.0.
The port that receives such queries will not be maintained as a dynamic router port. This might
prevent the associated dynamic IGMP snooping forwarding entry from being correctly created at the
data link layer and eventually cause multicast traffic forwarding failures.
To avoid this problem, you can configure a non-all-zero IP address as the source IP address of the
IGMP queries on the IGMP snooping querier. This configuration might affect the IGMP querier
election within the subnet.
You can also change the source IP address of IGMP reports or leave messages sent by a simulated
member host or an IGMP snooping proxy.
Configuring the source IP address for IGMP messages 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 IGMP general
queries.
igmp-snooping
general-query source-ip
ip-address
By default, the source IP address of
IGMP general queries is the IP
address of the current VLAN interface.
If the current VLAN interface does not
have an IP address, the source IP
address is 0.0.0.0.
4.
Configure the source IP
address
for
IGMP
group-specific queries.
igmp-snooping
special-query source-ip
ip-address
By default, the source IP address of
IGMP group-specific queries is one of
the following:
•
The source address of IGMP
group-specific queries if the