Setting the Aging Time of Dynamic Router Ports
Context
A router port sends IGMP Report/Leave messages to an upstream Layer 3 device and receives multicast packets from the upstream device. When IGMP snooping is enabled on a device, the device can learn entries of the dynamic router port to monitor the sending of multicast data. When network congestion or flapping occurs, the dynamic router port does not receive General IGMP Query or Protocol Independent Multicast (PIM) Hello messages before it times out. The router deletes the interface from the router port list, which may cause service interruption. To avoid this problem, set a longer aging time.
Procedure
- Run system-view
The system view is displayed.
- Run vlan vlan-id
The VLAN view is displayed.
- Run igmp-snooping router-aging-time router-aging-time
The aging time is set for dynamic router ports.
By default, the aging time of router ports that the router learns from General IGMP Query messages is 180 seconds. By default, the aging time of router ports that the router learns from PIM Hello messages is the Holdtime value in PIM Hello messages.