To configure the router properties for PIM dense mode, enable the minimum PIM dense mode configuration. For information about operating interfaces in PIM dense mode, see PIM Modes of Operation.
By default, PIM is disabled. When you enable PIM, it operates in sparse mode by default. To enable PIM dense mode on the router, include the pim statement:
-
pim {
-
rib-group group-name;
-
-
interface interface-name {
- mode dense;
- }
- }
For a list of the hierarchy levels at which you can include this statement, see the statement summary section for this statement.
To specify that PIM dense mode use inet.2 as its RPF routing table instead of inet.0, include the rib-group statement. For more information about configuring RPF routing tables, see Configuring a PIM RPF Routing Table.
You can specify the interfaces on which to enable PIM. Specify the full name, including the physical and logical address components. For details about specifying interfaces, see the JUNOS Network Interfaces Configuration Guide. If you do not specify any interfaces, PIM is enabled on all router interfaces. Generally, you specify interface names only if you are disabling PIM on certain interfaces.
![]() |
Note: You cannot configure both PIM and Distance Vector Multicast Routing Protocol (DVMRP) in forwarding mode on the same interface. You can configure PIM on the same interface only if you configured DVMRP in unicast-routing mode. |