Related Documentation
- EX Series
- Configuring Register Message Filters on a PIM RP and DR
- J Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- Verifying a Multicast Configuration
- M Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- Verifying a Multicast Configuration
- MX Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- Verifying a Multicast Configuration
- PTX Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Multicast Configuration Overview
- QFX Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- SRX Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- Verifying a Multicast Configuration
- T Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- Verifying a Multicast Configuration
Example: Rejecting Incoming PIM Register Messages on RP Routers
This example shows how to reject incoming PIM register messages on RP routers.
Requirements
Before you begin:
- Determine whether the router is directly attached to any multicast sources. Receivers must be able to locate these sources.
- Determine whether the router is directly attached to any multicast group receivers. If receivers are present, IGMP is needed.
- Determine whether to configure multicast to use sparse, dense, or sparse-dense mode. Each mode has different configuration considerations.
- Determine the address of the RP if sparse or sparse-dense mode is used.
- Determine whether to locate the RP with the static configuration, BSR, or auto-RP method.
- Determine whether to configure multicast to use its own RPF routing table when configuring PIM in sparse, dense, or sparse-dense mode.
- Configure the SAP and SDP protocols to listen for multicast session announcements. See Configuring the Session Announcement Protocol.
- Configure IGMP. See Configuring IGMP.
- Configure the PIM static RP. See Configuring Static RP.
Overview
In this example, you configure the group address as 224.1.1.1/32 and the source address in the group as 10.10.10.1/32. You set the match action to reject PIM register messages and assign reject-pim-register-msg-rp as the policy on the RP.
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.
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 reject the incoming PIM register messages on an RP router:
- Configure the policy options.[edit]user@host# edit policy-options
- Set the group address.[edit policy-options]user@host# set policy statement reject-pim-register-msg-rp from route-filter 224.1.1.1/32 exact
- Set the source address.[edit policy-options]user@host# set policy statement reject-pim-register-msg-rp from source-address-filter 10.10.10.1/32 exact
- Set the match action.[edit policy-options]user@host# set policy statement reject-pim-register-msg-rp then reject
- Configure the protocol.[edit]user@host# edit protocols pim rp
- Assign the policy.[edit]user@host# set rp-register-policy reject-pim-register-msg-rp
Results
From configuration mode, confirm your configuration by entering the show policy-options and show protocols pim command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.
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
- Verifying the IGMP Version
- Verifying the PIM Mode and Interface Configuration
- Verifying the PIM Register Messages
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 Register Messages
Purpose
Verify whether the rejected policy on the RP router is enabled.
Action
From operational mode, enter the show policy-options and show protocols pim command.
Related Documentation
- EX Series
- Configuring Register Message Filters on a PIM RP and DR
- J Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- Verifying a Multicast Configuration
- M Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- Verifying a Multicast Configuration
- MX Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- Verifying a Multicast Configuration
- PTX Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Multicast Configuration Overview
- QFX Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- SRX Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- Verifying a Multicast Configuration
- T Series
- Example: Stopping Outgoing PIM Register Messages on a Designated Router
- Configuring Register Message Filters on a PIM RP and DR
- Multicast Configuration Overview
- Verifying a Multicast Configuration