igmp-snooping max-response-time
Use igmp-snooping max-response-time to set the maximum response time for IGMP general queries in a VLAN or VSI.
Use undo igmp-snooping max-response-time to restore the default.
Syntax
igmp-snooping max-response-time seconds
undo igmp-snooping max-response-time
Default
The maximum response time for IGMP general queries is 10 seconds.
Views
VLAN view
VSI view
Predefined user roles
network-admin
mdc-admin
Parameters
seconds: Specifies the maximum response time for IGMP general queries, in the range of 1 to 3174 seconds.
Usage guidelines
You must enable IGMP snooping for a VLAN or VSI before you execute this command.
You can set the time for a VLAN in VLAN view, for a VSI in VSI view, or globally for all VLANs and VSIs in IGMP-snooping view. For a VLAN, the VLAN-specific configuration takes priority over the global configuration. For a VSI, the VSI-specific configuration takes priority over the global configuration.
To avoid mistakenly deleting multicast group members, set the maximum response time for IGMP general queries to be less than the IGMP general query interval.
Examples
# In VLAN 2, enable IGMP snooping, and set the maximum response time for IGMP general queries to 5 seconds.
<Sysname> system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] quit [Sysname] vlan 2 [Sysname-vlan2] igmp-snooping enable [Sysname-vlan2] igmp-snooping max-response-time 5
# In VSI aaa, enable IGMP snooping, and set the maximum response time for IGMP general queries to 5 seconds.
<Sysname> system-view [Sysname] igmp-snooping [Sysname-igmp-snooping] quit [Sysname] vsi aaa [Sysname-vsi-aaa] igmp-snooping enable [Sysname-vsi-aaa] igmp-snooping max-response-time 5
Related commands
enable (IGMP-snooping view)
igmp-snooping enable
igmp-snooping query-interval
max-response-time (IGMP-snooping view)