Configuring common PIM timers
About common PIM timers
The following are common PIM timers:
Hello interval—Interval at which a PIM device 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 device 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 device sends join/prune messages to its upstream devices for state update.
Joined/Pruned state holdtime—Time for which a PIM device 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 device maintains for a multicast source. If a device 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.
Restrictions and guidelines
To prevent upstream neighbors from aging out, set the join/prune interval to be less than the join/pruned state holdtime.
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.
As a best practice, use the defaults for a network without special requirements.
Configuring common PIM timers globally
Enter system view.
system-view
Enter PIM view.
pim [ vpn-instance vpn-instance-name ]
Set the hello interval.
timer hello interval
The default setting is 30 seconds.
Set the join/prune interval.
timer join-prune interval
The default setting is 60 seconds.
This configuration takes effect after the current interval ends.
Set the joined/pruned state holdtime.
holdtime join-prune time
The default setting is 210 seconds.
Set the multicast source lifetime.
source-lifetime time
The default setting is 210 seconds.
Configuring common PIM timers on an interface
Enter system view.
system-view
Enter interface view.
interface interface-type interface-number
Set the hello interval.
pim timer hello interval
The default setting is 30 seconds.
Set the triggered hello delay.
pim triggered-hello-delay delay
The default setting is 5 seconds.
Set the join/prune interval.
pim timer join-prune interval
The default setting is 60 seconds.
This configuration takes effect after the current interval ends.
Set the joined/pruned state holdtime.
pim holdtime join-prune time
The default setting is 210 seconds.