In this example, configure a non-RP router for PIM sparse mode. To specify a static RP address, add the address statement at the [edit protocols pim rp static] hierarchy level. Use the version statement at the [edit protocols pim rp static address] hierarchy level to specify PIM version 2.
Add the mode statement at the [edit protocols pim interface all] hierarchy level to configure the interfaces for sparse mode operation. Then add the version statement at the [edit protocols pim interface all mode] to specify PIM version 2 for all interfaces. When configuring all interfaces, exclude the fxp0.0 management interface by adding the disable statement for that interface.
- protocols {
-
- pim {
-
- rp {
-
- static {
-
- address 198.58.3.253 {
- version 2;
- }
- }
- }
-
- interface all {
- mode sparse;
- version 2;
- }
-
- interface fxp0.0 {
- disable;
- }
- }
- }