The pim dm command enables Protocol Independent Multicast-Dense Mode (PIM-DM) on an interface.
The undo pim dm command restores the default setting.
By default, PIM-DM is disabled on an interface.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, PW-VE sub-interface view, Tunnel interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
A multicast network requires multicast protocols, and PIM is the most widely used intra-domain multicast protocol. PIM-DM is one of the implementations of PIM. PIM-DM resolves the problem of P2MP transmission on a small-scale network with many users.
On a PIM-DM network, the pim dm command must be run to enable PIM-DM. Only a device with PIM-DM enabled can set up PIM neighbor relationships with neighboring devices and process protocol packets received from them.Prerequisites
Multicast routing has been enabled using the multicast routing-enable command.
Precautions
Interfaces belonging to the same instance on a device must have the same PIM mode. When a device is deployed in a PIM-DM domain, it is advised to enable PIM-DM on all non-boundary interfaces.
Multicast must be disabled if you want to switch between the PIM-DM and PIM-SM modes. After the switch is completed, re-enable multicast. Only tunnel interfaces with an encapsulation mode of GRE support this command. PIM-DM cannot be deployed with:<HUAWEI> system-view [~HUAWEI] multicast routing-enable [*HUAWEI] interface tunnel 5 [*HUAWEI-Tunnel5] tunnel-protocol gre [*HUAWEI-Tunnel5] pim dm
<HUAWEI> system-view [~HUAWEI] multicast routing-enable [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] undo portswitch [*HUAWEI-GigabitEthernet0/1/0] pim dm