Technical Documentation

Example: Configuring PIM Sparse Mode

This example shows how to configure a static RP router and non-RP routers for sparse mode.

  1. Include the address statement at the [edit protocols pim rp local] hierarchy level.

    For all interfaces, include the mode statement to set the mode to sparse, and include 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 including 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 you enable 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;}}}}}
  2. In this example, you configure a non-RP router for PIM sparse mode. To specify a static RP address, include the address statement at the [edit protocols pim rp static] hierarchy level. Include the version statement at the [edit protocols pim rp static address] hierarchy level to specify PIM version 2.

    Include the mode statement at the [edit protocols pim interface all] hierarchy level to configure the interfaces for sparse mode operation. Then include 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;}}}

Published: 2010-01-12