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

    Example: Configuring a PIM RPF Routing Table

    This example shows how to configure and apply a PIM RPF routing table.

    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 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. See Configuring the Session Announcement Protocol.
    8. Configure IGMP. See Configuring IGMP.
    9. Configure the PIM static RP. See Configuring Static RP.
    10. Filter PIM register messages from unauthorized groups and sources. See Example: Rejecting Incoming PIM Register Messages on RP Routers and Example: Stopping Outgoing PIM Register Messages on a Designated Router.

    Overview

    In this example, you name the new RPF routing table group multicast-rfp-rib and use inet.2 for its export as well as its import routing table. Then you create a routing table group for the interface routes and name the RPF if-rib. Finally, you use inet.2 and inet.0 for its import routing tables, and add the new interface routing table group to the interface routes.

    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 routing-options rib-groups multicast-rpf-rib export-rib inet.2set routing-options rib-groups multicast-rpf-rib import-rib inet.2 set protocols pim rib-group multicast-rpf-rib set routing-options rib-groups if-rib import-rib inet.2 set routing-options rib-groups if-rib import-rib inet.0 set routing-options interface-routes rib-group inet if-rib

    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 configure the PIM RPF routing table:

    1. Configure a routing option and a group.
      [edit]user@host# edit routing-options rib-groups
    2. Configure a name.
      [edit routing-options rib-groups]user@host# set multicast-rpf-rib export-rib inet.2
    3. Create a new group for the RPF routing table.
      [edit routing-options rib-groups]user@host# set multicast-rpf-rib import-rib inet.2
    4. Apply the new RPF routing table.
      [edit protocols pim]user@host# set rib-group multicast-rpf-rib
    5. Create a routing table group for the interface routes.
      [edit]user@host# edit routing-options rib-groups
    6. Configure a name for import routing table.
      [edit routing-options rib-groups]user@host# set if-rib import-rib inet.2user@host# set if-rib import-rib inet.0
    7. Set group to interface routes.
      [edit routing-options interface-routes]user@host# set rib-group inet if-rib

    Results

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

    [edit]user@host# show protocolspim {rib-group inet multicast-rpf-rib;}
    [edit]user@host# show routing-optionsinterface-routes {rib-group inet if-rib;}static {route 0.0.0.0/0 next-hop 10.100.37.1;}rib-groups {multicast-rpf-rib {export-rib inet.2;import-rib inet.2;}if-rib {import-rib [ inet.2 inet.0 ];}}

    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.

    user@host> show igmp interface
    Interface: ge–0/0/0.0
        Querier: 192.168.4.36
        State:         Up Timeout:     197 Version:  2 Groups:      0
    
    Configured Parameters:
    IGMP Query Interval: 125.0
    IGMP Query Response Interval: 10.0
    IGMP Last Member Query Interval: 1.0
    IGMP Robustness Count: 2
    
    Derived Parameters:
    IGMP Membership Timeout: 260.0
    IGMP Other Querier Present Timeout: 255.0
    

    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.

    Verifying the RPF Routing Table Configuration

    Purpose

    Verify that the PIM RPF routing table is configured correctly.

    Action

    From operational mode, enter the show multicast rpf command.

    Published: 2013-02-12