Example: Stopping Outgoing PIM Register Messages on a Designated Router (CLI)

To stop outgoing PIM register messages on a designated router:

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

Table 12: Stopping Outgoing PIM Register Messages on a Designated Router

Task

CLI Configuration Editor

Navigate to the Policy options level in the configuration hierarchy.

From the [edit] hierarchy level, enter

edit policy-options

Define a policy to not send PIM register messages for a group and source address.

  1. Set the match condition for the group address:

    set policy statement stop-pim-register-msg-dr from route-filter 224.2.2.2/32 exact

  2. Set the match condition for the address of a source in the group:

    set policy statement stop-pim-register-msg-dr from source-address-filter 20.20.20.1/32 exact

  3. Set the match action to not send PIM register messages for the group and source address:

    set policy statement stop-pim-register-msg-dr then reject

Configure the stop-pim-register-msg-dr policy on the designated router.

  1. From the [edit] hierarchy level, enter

    edit protocols pim rp

  2. Assign the policy on the designated router:

    set dr-register-policy stop-pim-register-msg-dr

Related Topics