ip igmp snooping mrouter learn pim-dvmrp
To configure a device to listen to the IGMP Query/Dvmrp or PIM Help packets dynamically in order to
automatically identify a routing interface, execute the ip igmp snooping mrouter learn command in the
global configuration mode. The no form of this command is used to disable the dynamic learning.
ip igmp snooping [ vlan vid ] mrouter learn pim-dvmrp
no ip igmp snooping [ vlan vid ] mrouter learn pim-dvmrp
Routing interface is a port through which an IGMP Snooping enabled
multicast device is directly connected to a multicast neighbor device
with multicast routing protocol enabled.
By default, the dynamic routing interface learning function is enabled.
You can use the no form of this command to disable this function and
clear all routing interfaces learnt dynamically. With dynamic routing
interface learning function disabled globally, the function of all vlans
will be disabled. Beside, with this function enabled globally, if the
function of specified vlan is disabled, the dynamic routing interface
learning function of the corresponding vlan is disabled. When the
source port check function is enabled, only the multicast flow enters
from the routing interface is legal and it is forwarded to the registered
interface by the multicast equipment, the multicast flow from the non
routing interface is considered to be the illegal and is discarded. With
the source port check function enabled, the dynamic routing interface
learning function will improve the application flexibility of IGMP
snooping.
The following example demonstrates how to enable the dynamic
routing interface learning function on the equipment:
Ruijie(config)# ip igmp snooping mrouter learn pim-dvmrp