The set protocols igmp-snooping query-interval command configures the interval of sending IGMP general query message.
set protocols igmp-snooping query-interval <query-interval>
Specifies the interval of sending an IGMP general query message. The value is an integer, in seconds, that ranges from 1 to 18000.
The default value is 60.
The query interval can be used to adjust aging time of member ports. When the switch receives the report message from the downstream host, it starts the aging timer for the member port. The aging time is calculated using the following formula: Aging time = General query count × General query interval + Maximum response time. The set protocols igmp-snooping query-interval command is used to configure the General query interval in the above formula. The General query count can be configured using the set protocols igmp-snooping robustness-variable command. The Maximum response time can be configured using the set protocols igmp-snooping max-response-time command.
When the aging time of the member port expires, this member port will be deleted from the Layer 2 forwarding table.
When the switch receives an IGMP report message on the dynamic member port, the aging time of the member port will be reset.
- Configure the interval of sending IGMP general queries.
admin@Xorplus# set protocols igmp-snooping query-interval 60 admin@XorPlus# commit