igmp-snooping report source-ip
Use igmp-snooping report source-ip to configure the source IP address for IGMP reports.
Use undo igmp-snooping report source-ip to restore the default.
Syntax
igmp-snooping report source-ip ip-address
undo igmp-snooping report source-ip
Default
In a VLAN, the source IP address of IGMP reports 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.
In a VSI, the source IP address of IGMP reports is the IP address of the gateway interface for the VSI. If the gateway interface does not have an IP address, the source IP address is 0.0.0.0.
Views
VLAN view
VSI view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the source IP address for IGMP reports.
Usage guidelines
You must enable IGMP snooping for a VLAN 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 reports.
<Sysname> system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping report 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 reports.
<Sysname> system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] quit [Sysname] vsi aaa [Sysname-vsi-aaa] igmp-snooping enable [Sysname-vsi-aaa] igmp-snooping report source-ip 10.1.1.1
Related commands
enable (IGMP-snooping view)
igmp-snooping enable