This example shows a static RP configuration. Add the address statement at the [edit protocols pim rp local] hierarchy level.
For all interfaces, use the mode statement to set the mode to sparse, and use the version statement to set the PIM version to 2 at the [edit protocols PIM rp interface all] hierarchy level. When configuring all interfaces, exclude the fxp0.0 management interface by adding the disable statement for that interface.
![]() |
Note: You do not need to configure Internet Group Management Protocol (IGMP) version 2 for a sparse mode configuration. After enabling PIM, by default, IGMP version 2 is also enabled. |
- protocols {
-
- pim {
-
- interface all {
- mode sparse;
- version 2;
- }
-
- interface fxp0.0 {
- disable;
- }
-
- rp {
-
- local {
-
- family inet {
- address 192.168.3.253;
- }
- }
- }
- }
- }