Configuring IGMP query and response parameters

About IGMP query and response parameters

The following are IGMP query and response parameters:

Restrictions and guidelines

To avoid frequent IGMP querier changes, set the IGMP other querier present timer greater than the IGMP general query interval. In addition, configure the same IGMP other querier present timer for all IGMP devices on the same subnet.

To avoid mistakenly deleting multicast receivers, set the IGMP general query interval greater than the maximum response time for IGMP general queries.

To speed up the response to IGMP queries and avoid simultaneous timer expirations that cause IGMP report traffic bursts, set an appropriate maximum response time.

The following configurations take effect only on the devices that run IGMPv2 and IGMPv3:

You can configure the IGMP query and response parameters globally for all interfaces in IGMP view or for an interface in interface view. The interface-specific configuration takes priority over the global configuration.

Configuring the IGMP query and response parameters globally

  1. Enter system view.

    system-view

  2. Enter IGMP view.

    igmp [ vpn-instance vpn-instance-name ]

  3. Set the IGMP querier's robustness variable.

    robust-count count

    By default, the IGMP querier's robustness variable is 2.

  4. Set the IGMP startup query interval.

    startup-query-interval interval

    By default, the IGMP startup query interval is equal to one quarter of the IGMP general query interval.

  5. Set the IGMP startup query count.

    startup-query-count count

    By default, the IGMP startup query count is equal to the IGMP querier's robustness variable.

  6. Set the IGMP general query interval.

    query-interval interval

    By default, the IGMP general query interval is 125 seconds.

  7. Set the IGMP last member query interval.

    last-member-query-interval interval

    By default, the IGMP last member query interval is 1 second.

  8. Set the IGMP last member query count.

    last-member-query-count count

    By default, the IGMP last member query count is equal to the IGMP querier's robustness variable.

  9. Set the maximum response time for IGMP general queries.

    max-response-time time

    By default, the maximum response time for IGMP general queries is 10 seconds.

  10. Set the IGMP other querier present timer.

    other-querier-present-interval interval

    By default, the IGMP other querier present timer is calculated by using the following formula:[ IGMP general query interval ] × [ IGMP robustness variable ] + [ maximum response time for IGMP general queries ] / 2.

Configuring the IGMP query and response parameters on an interface

  1. Enter system view.

    system-view

  2. Enter interface view.

    interface interface-type interface-number

  3. Set the IGMP querier's robustness variable.

    igmp robust-count count

    By default, the IGMP querier's robustness variable is 2.

  4. Set the IGMP startup query interval.

    igmp startup-query-interval interval

    By default, the IGMP startup query interval is equal to one quarter of the IGMP general query interval.

  5. Set the IGMP startup query count.

    igmp startup-query-count count

    By default, the IGMP startup query count is equal to the IGMP querier's robustness variable.

  6. Set the IGMP general query interval.

    igmp query-interval interval

    By default, the IGMP general query interval is 125 seconds.

  7. Set the IGMP last member query interval.

    igmp last-member-query-interval interval

    By default, the IGMP last member query interval is 1 second.

  8. Set the IGMP last member query count.

    igmp last-member-query-count count

    By default, the IGMP last member query count is equal to the IGMP querier's robustness variable.

  9. Set the maximum response time for IGMP general queries.

    igmp max-response-time time

    By default, the maximum response time for IGMP general queries is 10 seconds.

  10. Set the IGMP other querier present timer.

    igmp other-querier-present-interval interval

    By default, the IGMP other querier present timer is calculated by using the following formula:[ IGMP general query interval ] × [ IGMP robustness variable ] + [ maximum response time for IGMP general queries ] / 2.