25
To avoid this problem, when a Layer 2 device acts as the IGMP snooping querier, you can configure a
non-all-zero IP address as the source IP address of IGMP queries. You can also change the source IP
address of IGMP messages sent by a simulated member host or an IGMP snooping proxy.
Changing the source address of IGMP queries might affect the IGMP querier election within the subnet.
To configure source IP addresses for IGMP messages:
Ste
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
The default setting is the IP address of the
current VLAN interface. If there is no IP
address for the current VLAN interface, 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, if the IGMP snooping querier
has received IGMP queries, the source IP
address of IGMP group-specific queries is
the source IP address of IGMP queries.
Otherwise, it is the IP address of the current
VLAN interface. If there is no IP address for
the VLAN interface, the source IP address
is 0.0.0.0.
5. Configure the source IP
address for IGMP reports.
igmp-snooping report source-ip
ip-address
The default setting is the IP address of the
current VLAN interface. If there is no IP
address for the current VLAN interface, the
source IP address is 0.0.0.0.
6. Configure the source IP
address for IGMP leave
messages.
igmp-snooping leave source-ip
ip-address
The default setting is the IP address of the
current VLAN interface. If there is no IP
address for the current VLAN interface, the
source IP address is 0.0.0.0.
Setting the 802.1p precedence for IGMP messages
When congestion occurs on outgoing ports of the Layer 2 device, it forwards IGMP messages in their
802.1p priority order, from highest to lowest. You can assign higher forwarding priority to IGMP
messages by changing their 802.1p precedence.
You can configure the 802.1p precedence of IGMP messages for the current VLAN in VLAN view or
globally for all VLANs in IGMP-snooping view. If the configurations are made in both VLAN view and
IGMP-snooping view, the configuration made in VLAN view takes priority.
Setting the 802.1p precedence for IGMP messages globally
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter IGMP-snooping view.
igmp-snooping N/A
3. Set the 802.1p precedence for
IGMP messages.
dot1p-priority priority-number
The default setting is 0.
The global configuration takes
effect on all VLANs.