R3102-R3103-HP 6600/HSR6600 Routers IP Multicast Command Reference
13
If you do not specify any VLAN when using this command in port group view, the command takes effect
on all the ports in this group. If you specify one or more VLANs, the command takes effect only on those
ports in this group that belong to the specified VLANs.
Examples
# Enable fast-leave processing on GigabitEthernet 2/0/1 in VLAN 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] igmp-snooping fast-leave vlan 2
Related commands
fast-leave
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










