Setting aging timers for dynamic ports

About aging timers for dynamic ports

A dynamic router port is removed from the dynamic router port list if it does not receive an IGMP general query or PIM hello message when its aging timer expires.

A dynamic member port is removed from the dynamic member port if it does not receive an IGMP report when its aging timer expires.

Restrictions and guidelines

Set an appropriate value for the aging timers of dynamic ports. For example, if the memberships of multicast groups frequently change, set a relatively small value for the aging timer of the dynamic member ports. If the memberships of multicast groups rarely change, set a relatively large value.

If a dynamic router port receives a PIMv2 hello message, the aging timer for the port is specified by the hello message. In this case, the router-aging-time or igmp-snooping router-aging-time command does not take effect on the port.

IGMP group-specific queries originated by the Layer 2 device trigger the adjustment of aging timers for dynamic member ports. If a dynamic member port receives such a query, its aging timer is set to twice the IGMP last member query interval. For more information about setting the IGMP last member query interval on the Layer 2 device, see "Setting the IGMP last member query interval."

Setting the aging timers for dynamic ports globally

  1. Enter system view.

    system-view

  2. Enter IGMP-snooping view.

    igmp-snooping

  3. Set the aging timer for dynamic router ports globally.

    router-aging-time seconds

    By default, the aging timer for dynamic router ports is 260 seconds.

  4. Set the global aging timer for dynamic member ports globally.

    host-aging-time seconds

    By default, the aging timer for dynamic member ports is 260 seconds.

Setting the aging timers for dynamic ports in a VLAN

  1. Enter system view.

    system-view

  2. Enter VLAN view.

    vlan vlan-id

  3. Set the aging timer for dynamic router ports in the VLAN.

    igmp-snooping router-aging-time seconds

    By default, the aging timer for dynamic router ports is 260 seconds.

  4. Set the aging timer for dynamic member ports in the VLAN.

    igmp-snooping host-aging-time seconds

    By default, the aging timer for dynamic member ports is 260 seconds.

Setting the aging timers for dynamic ports in a VSI

  1. Enter system view.

    system-view

  2. Enter VSI view.

    vsi vsi-name

  3. Set the aging timer for dynamic router ports in the VSI.

    igmp-snooping router-aging-time seconds

    By default, the aging timer for dynamic router ports is 260 seconds.

  4. Set the aging timer for dynamic member ports in the VSI.

    igmp-snooping host-aging-time seconds

    By default, the aging timer for dynamic member ports is 260 seconds.