Task at a glance
(Optional.)
(Optional.)
Configuration prerequisites
Before you configure common PIM features, complete the following tasks:
Configure any unicast routing protocol so that all devices in the domain are interoperable at the
•
network layer.
•
Configure PIM-DM, or PIM-SM.
Configuring a multicast data filter
In either a PIM-DM domain or a PIM-SM domain, routers can check passing-by multicast data and
determine whether to continue forwarding the multicast data based on the configured filtering rules. In
other words, a PIM router can act as a multicast data filter, which can help implement traffic control and
also control the information available to downstream receivers.
A filter can filter not only independent multicast data but also multicast data encapsulated in register
messages. Generally, a filter nearer to the multicast source has a better filtering effect.
To configure a multicast data filter:
Step
1.
Enter system view.
2.
Enter PIM view.
3.
Configure a multicast data
filter:
Configuring a hello message filter
Along with the wide applications of PIM, the security requirement for the protocol is becoming
increasingly demanding. The establishment of correct PIM neighboring relationships is the prerequisite
for secure application of PIM.
To guard against PIM message attacks, you can configure a legal source address range for hello
messages on interfaces of routers to ensure the correct PIM neighboring relationships.
To configure a hello message filter:
Step
1.
Enter system view.
2.
Enter interface view.
Setting the maximum size of each join or prune message
Enabling PIM to work with BFD
Command
system-view
pim
source-policy acl-number
Command
system-view
interface interface-type
interface-number
78
Remarks
N/A
N/A
By default, no multicast data filter is
configured.
Remarks
N/A
N/A