Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Example: Stopping Outgoing PIM Register Messages on a Designated Router

    This example shows how to stop outgoing PIM register messages on a designated router.

    Requirements

    Before you begin:

    1. Determine whether the router is directly attached to any multicast sources. Receivers must be able to locate these sources.
    2. Determine whether the router is directly attached to any multicast group receivers. If receivers are present, IGMP is needed.
    3. Determine whether to configure multicast to use sparse, dense, or sparse-dense mode. Each mode has different configuration considerations.
    4. Determine the address of the RP if sparse or sparse-dense mode is used.
    5. Determine whether to locate the RP with the static configuration, BSR, or auto-RP method.
    6. Determine whether to configure multicast to use its own RPF routing table when configuring PIM in sparse, dense, or sparse-dense mode.
    7. Configure the SAP and SDP protocols to listen for multicast session announcements.
    8. Configure IGMP.
    9. Configure the PIM static RP.
    10. Filter PIM register messages from unauthorized groups and sources. See Example: Rejecting Incoming PIM Register Messages on RP Routers.

    Overview

    In this example, you configure the group address as 224.2.2.2/32 and the source address in the group as 20.20.20.1/32. You set the match action to not send PIM register messages for the group and source address. Then you configure the policy on the designated router to stop-pim-register-msg-dr.

    Configuration

    CLI Quick Configuration

    To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

    set policy-options policy-statement stop-pim-register-msg-dr from route-filter 224.2.2.2/32 exactset policy-options policy-statement stop-pim-register-msg-dr from source-address-filter 20.20.20.1/32 exact set policy-options policy-statement stop-pim-register-msg-dr then reject set protocols pim rp dr-register-policy stop-pim-register-msg-dr

    Step-by-Step Procedure

    The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the CLI User Guide.

    To stop outgoing PIM register messages on a designated router:

    1. Configure the policy options.
      [edit]user@host# edit policy-options
    2. Set the group address.
      [edit policy-options]user@host# set policy statement stop-pim-register-msg-dr from route-filter 224.2.2.2/32 exact
    3. Set the source address.
      [edit policy-options]user@host# set policy statement stop-pim-register-msg-dr from source-address-filter 20.20.20.1/32 exact
    4. Set the match action.
      [edit policy-options]user@host# set policy statement stop-pim-register-msg-dr then reject
    5. Assign the policy.
      [edit]user@host# set dr-register-policy stop-pim-register-msg-dr

    Results

    From configuration mode, confirm your configuration by entering the show policy-options and show protocols commands. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

    [edit]user@host# show policy-optionspolicy-statement stop-pim-register-msg-dr {from {route-filter 224.2.2.2/32 exact;source-address-filter 20.20.20.1/32 exact;}then reject;}
    [edit]user@host# show protocolspim {rp {dr-register-policy stop-pim-register-msg-dr;}}

    If you are done configuring the device, enter commit from configuration mode.

    Verification

    To confirm that the configuration is working properly, perform these tasks:

    Verifying SAP and SDP Addresses and Ports

    Purpose

    Verify that SAP and SDP are configured to listen on the correct group addresses and ports.

    Action

    From operational mode, enter the show sap listen command.

    Verifying the IGMP Version

    Purpose

    Verify that IGMP version 2 is configured on all applicable interfaces.

    Action

    From operational mode, enter the show igmp interface command.

    Verifying the PIM Mode and Interface Configuration

    Purpose

    Verify that PIM sparse mode is configured on all applicable interfaces.

    Action

    From operational mode, enter the show pim interfaces command.

    Verifying the PIM RP Configuration

    Purpose

    Verify that the PIM RP is statically configured with the correct IP address.

    Action

    From operational mode, enter the show pim rps command.

    Published: 2013-02-12