Configuring common IPv6 PIM timers
About common IPv6 PIM timers
The following are common IPv6 PIM timers:
Hello interval—Interval at which an IPv6 PIM device sends hello messages to discover IPv6 PIM neighbors and maintain IPv6 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, an IPv6 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 an IPv6 PIM device sends join/prune messages to its upstream devices for state update.
Joined/Pruned state holdtime—Time for which an IPv6 PIM device keeps the joined/pruned state for the downstream interfaces. This joined/pruned state holdtime is contained in a join/prune message.
IPv6 multicast source lifetime—Lifetime that an IPv6 PIM device maintains for an IPv6 multicast source. If a device does not receive subsequent IPv6 multicast data from the IPv6 multicast source S when the timer expires, it deletes the (S, G) entry for the IPv6 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 IPv6 PIM timers for all interfaces in IPv6 PIM view or for the current interface in interface view. The configuration made in interface view takes priority over the configuration made in IPv6 PIM view.
As a best practice, use the defaults for a network without special requirements.
Configuring common IPv6 PIM timers globally
Enter system view.
system-view
Enter IPv6 PIM view.
ipv6 pim [ vpn-instance vpn-instance-name ]
Set the hello interval.
timer hello interval
By default, the interval to send hello messages is 30 seconds.
Set the join/prune interval.
timer join-prune interval
By default, the interval to send join/prune messages is 60 seconds.
This configuration takes effect after the current interval ends.
Set the joined/pruned state holdtime.
holdtime join-prune time
By default, the joined/pruned state holdtime timer is 210 seconds.
Set the IPv6 multicast source lifetime.
source-lifetime time
By default, the IPv6 multicast source lifetime is 210 seconds.
Configuring common IPv6 PIM timers on an interface
Enter system view.
system-view
Enter interface view.
interface interface-type interface-number
Set the hello interval.
ipv6 pim timer hello interval
The default setting is 30 seconds.
Set the triggered hello delay.
ipv6 pim triggered-hello-delay delay
The default setting is 5 seconds.
Set the join/prune interval.
ipv6 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.
ipv6 pim holdtime join-prune time
The default setting is 210 seconds.