Information
Real-time multicast traffic can entail multiple large flows of data. An attacker can flood a network segment with multicast packets, over-using the available bandwidth and thereby creating a denial-of-service (DoS) condition. Hence, it is imperative that join messages are only accepted for authorized multicast groups and sources.
Solution
RP routers that are peering with customer PIM-SM routers must implement a PIM import policy to block join messages for any undesirable multicast groups.
Step 1: Configure a multicast join policy to filter bad groups and sources as shown in the example below:
[edit policy-options policy-statement MULTICAST_JOIN_POLICY]
set term BAD_GROUPS from route-filter 224.1.1.0/24 orlonger
set term BAD_GROUPS from route-filter 225.1.2.3/32 exact
...
...
...
set term BAD_GROUPS then reject
set term ALLOW_OTHER then accept
Step 2: Configure PIM to enable the join policy as shown in the example below:
[edit protocols pim]
set import MULTICAST_JOIN_POLICY