Example: Configuring a PIM RPF Routing Table (CLI)

To configure and apply a PIM RPF routing table, perform these steps on each device in the network:

  1. Navigate to the top of the configuration hierarchy.
  2. Perform the configuration tasks described in Table 13.
  3. If you are finished configuring the router, commit the configuration.

Table 13: Configuring a PIM RPF Routing Table

Task

CLI Configuration Editor

Navigate to the Routing options level in the configuration hierarchy.

From the [edit] hierarchy level, enter

edit routing-options

Configure a new group for the RPF routing table.

Enter

edit rib-groups

Configure a name for the new RPF routing table group—for example, multicast-rfp-rib—and use inet.2 for its export routing table.

Enter

set multicast-rpf-rib export-rib inet.2

Configure the new RPF routing table group to use inet.2 for its import routing table.

Enter

set multicast-rpf-rib import-rib inet.2

Navigate to the Rib group level in the configuration hierarchy.

From the [edit] hierarchy level, enter

edit protocols pim

Apply the new RPF routing table to PIM.

Enter

set rib-group multicast-rpf-rib

Create a routing table group for the interface routes.

From the [edit] hierarchy level, enter

edit routing-options rib-groups.

Configure a name for the RPF routing table group—for example, if-rib—and use inet.2 and inet.0 for its import routing tables.

Enter

set if-rib import-rib inet.2

set if-rib import-rib inet.0

Add the new interface routing table group to the interface routes.

From the [edit] hierarchy level, enter

edit routing-options interface-routes

set rib-group inet if-rib

Related Topics