igmp-snooping special-query source-ip
Use igmp-snooping special-query source-ip to configure the source IP address for IGMP group-specific queries.
Use undo igmp-snooping special-query source-ip to restore the default.
Syntax
igmp-snooping special-query source-ip ip-address
undo igmp-snooping special-query source-ip
Default
In a VLAN, the source IP address of IGMP group-specific queries is one of the following:
The source address of IGMP group-specific queries if the IGMP snooping querier of the VLAN has received IGMP general queries.
The IP address of the current VLAN interface if the IGMP snooping querier does not receive an IGMP general query.
0.0.0.0 if the IGMP snooping querier does not receive an IGMP general query and the current VLAN interface does not have an IP address.
In a VSI, the source IP address of IGMP group-specific queries is one of the following:
The source IP address of IGMP general queries if the IGMP snooping querier of the VSI has received IGMP general queries.
The IP address of the gateway interface for the VSI if the IGMP snooping querier does not receive an IGMP general query.
0.0.0.0 if the gateway interface for the VSI does not have an IP address.
Views
VLAN view
VSI view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the source IP address for IGMP group-specific queries.
Usage guidelines
You must enable IGMP snooping for a VLAN or VSI before you execute this command.
Examples
# In VLAN 2, enable IGMP snooping, and specify 10.1.1.1 as the source IP address of IGMP group-specific queries.
<Sysname> system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping special-query source-ip 10.1.1.1
# In VSI aaa, enable IGMP snooping, and specify 10.1.1.1 as the source IP address of IGMP group-specific queries.
<Sysname> system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] quit [Sysname] vsi aaa [Sysname-vsi-aaa] igmp-snooping enable [Sysname-vsi-aaa] igmp-snooping special-query source-ip 10.1.1.1
Related commands
enable (IGMP-snooping view)
igmp-snooping enable