R0106-HP MSR Router Series IP Multicast Command Reference(V7)

30
Examples
# In VLAN 2, enable IGMP snooping, and enable the IGMP snooping querier function.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping querier
Related commands
igmp-snooping enable
subvlan (multicast-VLAN view)
igmp-snooping query-interval
Use igmp-snooping query-interval to set the IGMP general query interval for a VLAN.
Use undo igmp-snooping query-interval to restore the default.
Syntax
igmp-snooping query-interval interval
undo igmp-snooping query-interval
Default
The IGMP general query interval in a VLAN is 125 seconds.
Views
VLAN view
Predefined user roles
network-admin
Parameters
interval: Specifies an interval for sending IGMP general queries, in the range of 2 to 300 seconds.
Usage guidelines
You must enable IGMP snooping for a VLAN before you execute this command for the VLAN.
To avoid mistakenly deleting multicast group members, make sure the interval for sending IGMP general
queries is larger than the maximum response time for IGMP general queries.
Examples
# In VLAN 2, enable IGMP snooping, and set the IGMP general query interval to 20 seconds.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 2
[Sysname-vlan2] igmp-snooping enable
[Sysname-vlan2] igmp-snooping query-interval 20
Related commands
igmp-snooping enable