The state-refresh-interval command sets the interval for sending PIM State-Refresh messages.
The undo state-refresh-interval command restores the default value of the interval.
By default, the interval for sending PIM State-Refresh messages is 60 seconds.
Parameter | Description | Value |
---|---|---|
interval | Specifies the interval for sending PIM State-Refresh messages. | The value is an integer that ranges from 1 to 255, in seconds. |
Usage Scenario
On the PIM-DM network, the device periodically sends State-Refresh messages to update the timeout interval of the prune timer on the downstream device. By doing this, the interface that has no multicast requirements retains in prune state. You can use the state-refresh-interval command to set the interval at which State-Refresh messages are sent.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command in the public network instance or VPN instance.
Precautions
To prevent a pruned interface from forwarding packets when the Prune status times out, the interval for sending State-Refresh messages is shorter than the period for keeping the Prune status.
You can run the holdtime join-prune (IPv4) command to set the period during which the device keeps the Prune status.
This command is valid for only PIM-DM.
This command takes effect only on the switch directly connected to a source.