Whether MSDP is used or not, the anycast RP configuration for a non-RP router is the same as a static RP configuration for a non-RP router. Specify a static RP by adding the address at the [edit protocols pim rp static] hierarchy level. Use the version statement at the [edit protocols pim rp static address] hierarchy level to set PIM version 2.
- protocols {
-
- pim {
-
- rp {
-
- static {
-
- address 198.58.3.253 {
- version 2;
- }
- }
- }
- }
- }
Use the mode statement at the [edit protocols pim rp interface all] hierarchy level to specify sparse mode on all interfaces. Then add the version statement at the [edit protocols pim rp interface all mode] to configure all interfaces for PIM version 2. When configuring all interfaces, exclude the fxp0.0 management interface by adding the disable statement for that interface.
- protocols {
-
- pim {
-
- interface all {
- mode sparse;
- version 2;
- }
-
- interface fxp0.0 {
- disable;
- }
- }
- }