Configuring IGMP query and response parameters

Configure query and response parameters such as querier interval, last member query interval, max response time, and robustness.

Prerequisites

You must be in the interface configuration context, as indicated by the switch(config-if)# prompt, switch(config-if-vlan)# prompt, or switch(config-lag-if)# prompt.

Procedure
Configure IGMP query and response parameters on an interface using the following commands.
  • Make sure that the IGMP querier is enabled. (In IGMPv3 the IGMP querier is enabled by default.) Configure the IGMP querier on an interface using the following command: ip igmp querier.

  • Configure the IGMP querier interval on an interface using the following command: ip igmp querier interval <INTERVAL-VALUE>. The interval is from 5-300 seconds, with a default of 125.

  • Configure the IGMP last member query interval value in seconds on an interface using the following command: ip igmp last-member-query-interval <INTERVAL-VALUE>. The interval is from 1-2 seconds, with a default of 1.

  • Configure the IGMP max response time value in seconds on an interface using the following command: ip igmp querier query-max-response-time <RESPONSE-TIME>. The response time is from 10-128 seconds, with a default of 10.

  • Configure the IGMP robustness (the number of times to retry a query) on an interface using the following command: ip igmp robustness <VALUE>. The robustness value is from 1-8 with default of 2.

For example, the following command configures the IGMP querier interface interval as 100 on interface VLAN 2. The no form of the command sets the interval to the default.

switch# configure terminal
switch(config)# interface vlan 2
switch(config-if-vlan)# ip igmp querier interval 100
switch(config-if-vlan)# no ip igmp querier interval

And the following command configures the IGMP querier maximum response time to 50 seconds for interface 1/1/1.

switch# configure terminal
switch(config)# interface 1/1/1
switch(config-if)# ip igmp query-max-response-time 50