prune-wait

Configures the amount of time a PIM device waits to stop traffic after receiving a Prune message from a neighboring device.

Syntax

prune-wait seconds
no prune-wait

Command Default

The default wait time is 3 seconds.

Parameters

seconds
Specifies the wait time in seconds. Valid values range from 0 through 30 seconds.

Modes

PIM router configuration mode

Usage Guidelines

A smaller prune wait time reduces flooding of unwanted traffic. A prune wait time of 0 causes the PIM device to stop traffic immediately upon receiving a prune message.

Do not configure a prune wait time when there are two or more neighbors on the physical port. One neighbor may send a prune message while the other sends a join message at the same time, or within less than 3 seconds.

The no prune-wait form of this command restores the default wait time of 3 seconds.

Examples

This example configures a wait time of 0 seconds for IPv4 PIM.

device(config)# router pim
device(config-pim-router)# prune-wait 0

This example configures a wait time of 10 seconds for IPv6 PIM.

device(config)# ipv6 router pim
device(config-ipv6-router-pim-vrf-default-vrf)# prune-wait 10