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 MLD general query or IPv6 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 MLD report when its aging timer expires.

Restrictions and guidelines

Set an appropriate value for the aging timers of dynamic ports based on the actual network requirement. For example, if the memberships of IPv6 multicast groups frequently change, set a relatively small value for the aging timer of the dynamic member ports.

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

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

Setting the aging timers for dynamic ports globally

  1. Enter system view.

    system-view

  2. Enter MLD-snooping view.

    mld-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 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.

    mld-snooping router-aging-time seconds

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

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

    mld-snooping host-aging-time seconds

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

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.

    mld-snooping router-aging-time seconds

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

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

    mld-snooping host-aging-time seconds

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