R3303-HP HSR6800 Routers IP Multicast Command Reference

14
igmp-snooping general-query source-ip
Use igmp-snooping general-query source-ip to configure the source address of IGMP general queries.
Use undo igmp-snooping general-query source-ip to restore the default.
Syntax
igmp-snooping general-query source-ip { ip-address | current-interface }
undo igmp-snooping general-query source-ip
Default
The source IP address of IGMP general queries is 0.0.0.0.
Views
VLAN view
Default command level
2: System level
Parameters
ip-address: Specifies the source address of IGMP general queries, which can be any legal IP address.
current-interface: Sets the source address of IGMP general queries to the address of the current VLAN
interface. If the current VLAN interface does not have an IP address, the default IP address 0.0.0.0 is
used as the source IP address of IGMP general queries.
Usage guidelines
This command takes effect only if IGMP snooping is enabled in the VLAN.
Examples
# On VLAN 2, enable IGMP snooping and specify 10.1.1.1 as the source IP address of IGMP general
queries.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping general-query source-ip 10.1.1.1
Related commands
igmp-snooping enable
igmp-snooping group-limit
Use igmp-snooping group-limit to set the maximum number of multicast groups that a port can join.
Use undo igmp-snooping group-limit to restore the default.
Syntax
igmp-snooping group-limit limit [ vlan vlan-list ]
undo igmp-snooping group-limit [ vlan vlan-list ]