The max-response-time command sets a global maximum response time for IGMP General Query messages.
The undo max-response-time command restores the global maximum response time for IGMP General Query messages to the default value.
By default, the global maximum response time for IGMP General Query messages is 10 seconds.
Parameter | Description | Value |
---|---|---|
interval | Specifies the maximum response time for IGMP General Query messages. | The value is an integer that ranges from 1 to 25, in seconds. |
Usage Scenario
If hosts send IGMP Report messages immediately after they receive IGMP General Query messages, the querier on a shared network segment may receive a large number of Report messages sent from many hosts at the same time. This may cause congestion on the network.
To avoid such situations, IGMPv2 and IGMPv3 messages specify the maximum response time for IGMP General Query messages. When a host running IGMPv2 or IGMPv3 receives an IGMP General Query message, it starts a timer for the group it wants to join. The timer length is a random value between 0 and the maximum response time. When the timer times out, the host sends a Report message.
The maximum response time specifies the deadline for the host to send a Report message. An appropriate maximum response time allows hosts to respond to Query messages quickly and prevents hosts from sending Report messages at the same time.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions