inactivity-timer

Configures the amount of time a forwarding entry can remain unused before the device deletes it.

Syntax

inactivity-timer seconds
no inactivity-timer seconds

Command Default

The default inactive time is 180 seconds.

Parameters

seconds
Specifies the inactivity period in seconds. Valid values range from 60 through 3600 seconds.

Modes

PIM router configuration mode

Usage Guidelines

A device deletes a forwarding entry if the entry is not used to send multicast packets. The PIM inactivity timer defines how long a forwarding entry can remain unused before the device deletes it.

The no inactivity-timer form of this command restores the default inactive time of 180 seconds.

Examples

This example configures an inactive timer of 90 seconds for IPv4 PIM.

device# configure terminal
device(config)# router pim
device(config-pim-router)# inactivity-timer 90
This example configures an inactive timer of 90 seconds for IPv6 PIM.
device# configure terminal
device(config)# ipv6 router pim
device(config-ipv6-router-pim-vrf-default-vrf)# inactivity-timer 90