R0106-HP MSR Router Series IP Multicast Command Reference(V7)
27
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping last-member-query-interval 3
Related commands
• igmp-snooping enable
• last-member-query-interval (IGMP-snooping view)
igmp-snooping leave source-ip
Use igmp-snooping leave source-ip to configure the source IP address of the IGMP leave messages.
Use undo igmp-snooping leave source-ip to restore the default.
Syntax
igmp-snooping leave source-ip ip-address
undo igmp-snooping leave source-ip
Default
The source IP address of the IGMP leave messages 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.
Views
VLAN view
Predefined user roles
network-admin
Parameters
ip-address: Specifies an IP address. It can be any legal IP address.
Usage guidelines
You must enable IGMP snooping for a VLAN before you execute this command for the VLAN.
Examples
# In VLAN 2, enable IGMP snooping, and configure the source IP address of IGMP leave messages to
10 .1.1.1.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping leave source-ip 10.1.1.1
Related commands
igmp-snooping enable
igmp-snooping max-response-time
Use igmp-snooping max-response-time to set the maximum response time for IGMP general queries for
a VLAN.