timer join-prune (PIM view)

Use timer join-prune to set the join/prune interval globally.

Use undo timer join-prune to restore the default.

Syntax

timer join-prune interval

undo timer join-prune

Default

The join/prune interval is 60 seconds.

Views

PIM view

Predefined user roles

network-admin

Parameters

interval: Specifies a join/prune interval in the range of 0 to 18000 seconds. If you set the value to 0 seconds, the device does not send join or prune messages.

Usage guidelines

You can set the join/prune interval globally for all interfaces in PIM view or for an interface in interface view. For an interface, the interface-specific configuration takes priority over the global configuration.

The configuration takes effect after the current interval ends.

To prevent the upstream neighbors from expiring, you must set the join/prune interval to be less than the joined/pruned state holdtime.

Examples

# Set the global join/prune interval to 80 seconds on the public network.

<Sysname> system-view
[Sysname] pim
[Sysname-pim] timer join-prune 80

Related commands

holdtime join-prune (PIM view)

pim timer join-prune