Changing the IGMP Snooping Group Query Membership Timeout Value (CLI Procedure)
Generally, you do not need to explicitly set the group membership timeout value for IGMP snooping groups on an EX Series switch. The group membership timeout value, which determines how long the switch waits before removing an IGMP snooping group from its multicast cache table. is implicitly set to 260 seconds when you configure IGMP snooping.
When you enable IGMP snooping on a switch, the query-interval and query-response-interval values are set to their default values and are applied to all VLANs created on the switch. The default values are:
- query-interval—125 seconds
- query-response-interval—10 seconds
The software automatically calculates the group membership timeout value for an IGMP snooping-enabled switch by multiplying the query-interval value by 2 and then adding the query-response-interval value. For example, using the default values: (125 x 2) + 10) = 260.
If you need to explicitly set the group membership timeout value, you reset the query-interval and query-response-interval values at the [edit protocols igmp] hierarchy level. (Notice that you are not resetting the values at the [edit protocols igmp-snooping] hierarchy level.) When you reset these values, the IGMP snooping configuration inherits the new values and recalculates the group membership timeout value accordingly. For more information on changing these values, see the Junos Multicast Protocols Configuration Guide at http://www.juniper.net/techpubs/software/junos/index.html.
To change the IGMP snooping group membership timeout value to 350:
- Configure the query-interval value
to be 150:
[edit protocols]
user@switch# set igmp query-interval 150 - Configure the query-response-interval value
to be 50:
[edit protocols]
user@switch# set igmp query-response-interval 50
