
119
•
Configure PIM-DM or PIM-SM.
Configuring a multicast source policy
This feature enables the device to filter multicast data by using an ACL that specifies the multicast
sources and the optional groups. It filters not only data packets but also register messages with
multicast data encapsulated. It controls the information available to downstream receivers.
To configure a multicast source policy:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter PIM view.
pim
[
vpn-instance
vpn-instance-name
]
N/A
3.
Configure a multicast source
policy.
source-policy ipv4-acl-number
By default, no multicast source
policies exist, and all multicast
data packets are forwarded.
Configuring a PIM hello policy
This feature enables the device to filter PIM hello messages by using an ACL that specifies the
packet source addresses. It is used to guard against PIM message attacks and to establish correct
PIM neighboring relationships.
If hello messages of an existing PIM neighbor are filtered out by the policy, the neighbor is
automatically removed when its aging timer expires.
To configure a PIM hello policy:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Configure a PIM hello policy.
pim neighbor-policy
ipv4-acl-number
By default, no PIM hello policies
exist on an interface, and all PIM
hello messages are regarded
legal.
Configuring PIM hello message options
In either a PIM-DM domain or a PIM-SM domain, hello messages exchanged among routers contain
the following configurable options:
•
DR_Priority
(for PIM-SM only)—Priority for DR election. The device with the highest priority
wins the DR election. You can configure this option for all the routers in a shared-media LAN
that directly connects to the multicast source or the receivers.
•
Holdtime
—PIM neighbor lifetime. If a router does not receive a hello message from a neighbor
when the neighbor lifetime expires, it regards the neighbor failed or unreachable.
•
LAN_Prune_Delay
—Delay of pruning a downstream interface on a shared-media LAN. This
option has LAN delay, override interval, and neighbor tracking support (the capability to disable
join message suppression).