Example: Rejecting Incoming PIM Register Messages on an RP Router (CLI)

To reject incoming PIM register messages on an RP router:

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

Table 11: Rejecting Incoming PIM Register Messages on an RP 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 reject PIM register messages from a group and source address.

  1. Set the match condition for the group address:

    set policy statement reject-pim-register-msg-rp from route-filter 224.1.1.1/32 exact

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

    set policy statement reject-pim-register-msg-rp from source-address-filter 10.10.10.1/32 exact

  3. Set the match action to reject PIM register messages from the group and source address:

    set policy statement reject-pim-register-msg-rp then reject

Configure the reject-pim-register-msg-rp policy on the RP router.

  1. From the [edit] hierarchy level, enter

    edit protocols pim rp

  2. Assign the policy on the RP:

    set rp-register-policy reject-pim-register-msg-rp

Related Topics