135
Step
Command
Remarks
8.
Enable
dropping
hello
messages
without
the
Generation ID option.
pim require-genid
By default, an interface accepts
hello messages without the
Generation ID option.
Configuring common PIM timers
IMPORTANT:
To prevent the upstream neighbors from aging out, you must configure the interval for sending
join/prune messages to be less than the joined/pruned state holdtime timer.
The following are common timers in PIM:
•
Hello interval
—Interval at which a PIM router sends hello messages to discover PIM
neighbors, and maintain PIM neighbor relationship.
•
Triggered hello delay
—Maximum delay for sending a hello message to avoid collisions
caused by simultaneous hello messages. After receiving a hello message, a PIM router waits
for a random time before sending a hello message. This random time is in the range of 0 to the
triggered hello delay.
•
Join/Prune interval
—Interval at which a PIM router sends join/prune messages to its
upstream routers for state update.
•
Joined/Pruned state holdtime
—Time for which a PIM router keeps the joined/pruned state for
the downstream interfaces. This joined/pruned state holdtime is specified in a join/prune
message.
•
Multicast source lifetime
—Lifetime that a PIM router maintains for a multicast source. If a
router does not receive subsequent multicast data from the multicast source S when the timer
expires, it deletes the (S, G) entry for the multicast source.
You can configure common PIM timers for all interfaces in PIM view or for the current interface in
interface view. The configuration made in interface view takes priority over the configuration made in
PIM view.
TIP:
As a best practice, use the defaults for a network without special requirements.
Configuring common PIM timers globally
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter PIM view.
pim
[
vpn-instance
vpn-instance-name
]
N/A
3.
Set the hello interval.
timer hello
interval
The default setting is 30 seconds.
4.
Set the join/prune interval.
timer join-prune interval
The default setting is 60 seconds.
This configuration takes effect
after the current interval ends.
5.
Set the joined/pruned state
holdtime.
holdtime join-prune time
The default setting is 210
seconds.
6.
Set the multicast source
lifetime.
source-lifetime time
The default setting is 210
seconds.