Example: Configuring PIM Sparse Mode and RP Static IP Addresses (CLI)

To configure PIM sparse mode, disable PIM on ge-0/0/0, and configure the IP address of the RP, and 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 10.

Table 10: Configuring PIM Sparse Mode and the RP

Task

CLI Configuration Editor

Navigate to the Interface level in the configuration hierarchy.

From the [edit] hierarchy level, enter

edit protocols pim

Enable PIM on all network interfaces.

Set the interface value to all. For example:

set pim interface all

Apply your configuration changes.

Changes in the CLI are applied automatically when you execute the set command.

Remain at the Interface level in the configuration hierarchy.

Remain at the [edit protocols pim interface] hierarchy level.

Disable PIM on the network management interface.

Disable the ge-0/0/0 interface:

set pim interface ge-0/0/0 unit 0 disable

Apply your configuration changes.

Changes in the CLI are applied automatically when you execute the set command.

Navigate to the Rp level in the configuration hierarchy.

From the [edit] hierarchy level, enter

edit protocols pim rp

Configure the IP address of the RP—for example, 192.168.14.27.

Set the address value to the IP address of the RP:

set static address 192.168.14.27

Related Topics