The mld-snooping router-aging-time command sets the aging time of dynamic router ports in a VLAN.
The undo mld-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.
Parameter |
Description |
Value |
---|---|---|
router-aging-time |
Indicates the aging time of a router port. |
The value is an integer that ranges from 1 to 1000, in seconds. |
Usage Scenario
When a short-term congestion occurs on a network, it takes a longer time to transmit Query messages from the MLD querier to a Layer 2 device. If a router port on the Layer 2 device ages out within this period, the Layer 2 device does not send Report or Done messages to the router port. As a result, multicast data forwarding may be interrupted. To solve this problem, set a longer aging time for router ports if the network is unstable.
Prerequisites
MLD snooping has been enabled globally using the mld-snooping enable command.
Precautions
The configuration takes effect only after you run the mld-snooping_enable command to enable MLD snooping in the VLAN.
If the aging time of a router port is too short, the router port ages frequently, degrading system performance.