Configuring common PIM timers
CAUTION: To prevent the upstream neighbors from aging out, you must configure the interval for sending join/prune message 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 to 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 the 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 default settings 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. NOTE: 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. |
Configuring common PIM timers on an interface
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | N/A |
3. Set the hello interval. | pim timer hello interval | The default setting is 30 seconds. |
4. Set the triggered hello delay. | pim triggered-hello-delay delay | The default setting is 5 seconds. |
5. Set the join/prune interval. | pim timer join-prune interval | The default setting is 60 seconds. NOTE: This configuration takes effect after the current interval ends. |
6. Set the joined/pruned state holdtime. | pim holdtime join-prune time | The default setting is 210 seconds. |