< Home

igmp-snooping router-aging-time

Function

The igmp-snooping router-aging-time command sets the aging time of dynamic router ports in a VLAN.

The undo igmp-snooping router-aging-time command restores the default aging time of dynamic router ports in a VLAN.

By default, the aging time of dynamic router ports in a VLAN is 180 seconds or equal to the holdtime value contained in PIM Hello messages.

Format

igmp-snooping router-aging-time router-aging-time

undo igmp-snooping router-aging-time

Parameters

Parameter

Description

Value

router-aging-time

Specifies the aging time of dynamic router ports in a VLAN.

The value is an integer that ranges from 1 to 1000, in seconds.

Views

VLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a short-term congestion occurs on the network, it takes a longer time to transmit Query messages from the IGMP querier to the switch. If a router port on the switch ages in this period, the switch does not send Report or Leave messages to router ports. As a result, multicast data forwarding may be interrupted. Therefore, set a long aging time for the router port if the network is unstable.

When a dynamic router port on the switch receives an IGMP Query message or a PIM Hello message, the switch resets the aging time of the router port.

  • If the router port receives an IGMP Query message, the switch sets the remaining aging time of the interface to the configured value.

  • If the router port receives a PIM Hello message, the switch sets the aging time of the interface to the holdtime value.

Prerequisites

IGMP snooping has been enabled globally using the igmp-snooping enable (system view) command.

Precautions

If IGMP snooping is disabled in the specified VLAN, the configuration succeeds but does not take effect until IGMP snooping is enabled in the VLAN. To enable IGMP snooping in a VLAN, run the igmp-snooping enable (VLAN view) command.

If the aging time of a router port is too short, the router port ages frequently, degrading system performance.

Example

# Set the aging time of router ports in VLAN 3 to 300 seconds.

<HUAWEI> system-view
[HUAWEI] igmp-snooping enable
[HUAWEI] vlan 3
[HUAWEI-vlan3] igmp-snooping enable
[HUAWEI-vlan3] igmp-snooping router-aging-time 300
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >