Configuration Guide Configuring IGMP Snooping
receives a leave packet. After that, the packets will no longer be forwarded to this port when it receives the
query packets of specified profiles. Leave packets include the IGMPv2 Leave packets as well as the
IGMPv3 Report packets that include types but carry no source address.
The immediate-leave function applies only to the scenario where only one host is connected to a device
port. It is used to conserve bandwidth and resources.
 Enabling Dynamic Router Port Learning
ip igmp snooping [ vlan vid ] mrouter learn pim-dvmrp
vlan vid: Specifies a VLAN. This configuration applies to all VLANs by default.
Global configuration mode
A router port is the port that is connected directly to a multicast device running IGMP snooping and a
multicast neighbor device running multicast routing protocol. By default, dynamic router port learning is
enabled and the device automatically listens to IGMP Query packets, DVMRP packets, and PIM Hello
packets.
 Configuring the Aging Time of a Dynamic Router Port
ip igmp snooping dyn-mr-aging-time seconds
seconds: Indicates the aging time of a dynamic router port in the unit of seconds. The value ranges from 1 to
3,600.
Global configuration mode
If a dynamic router port does not receive an IGMP general query packet or a PIM Hello packet before the
aging timer expires, the device will delete this port from the router port entry.
When dynamic router port learning is enabled, you can run this command to adjust the aging time of the
dynamic router port. If the aging time is too short, the multicast device may frequently add or delete a router
port.
 Configuring the Aging Time of a Dynamic Member Port
ip igmp snooping host-aging-time seconds
seconds: Indicates the aging time.
Global configuration mode
The aging time of a dynamic member port indicates the time when a device port receives the IGMP join
packet sent from host for subscribing to an IP multicast profile.
When the IGMP join packet is received, the aging time of the dynamic member port will be reset. The value
of the timer time is host-aging-time. If the timer expires, the multicast device deems that no user host for
receiving the multicast packet exists under the port, and will delete the port from the entry of IGMP snooping