set protocols igmp-snooping query-interval


The set protocols igmp-snooping query-interval command configures the interval of sending IGMP general query message.


Command Syntax

set protocols igmp-snooping query-interval <query-interval>


Parameter

Parameter

Description

max-response-time <max-response-time>

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.


Usage Guidelines

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.

NOTE:

  •   We recommend setting the value of Maximum response time smaller than the value of General query interval.
  •   The aging time takes effect only on dynamic member ports, however, the static member ports do not age.


Example

  •   Configure the interval of sending IGMP general queries.
admin@Xorplus# set protocols igmp-snooping query-interval 60
admin@XorPlus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.