The nhrp entry holdtime command sets the aging time of NHRP peer entries.
The undo nhrp entry holdtime command restores the aging time of NHRP peer entries to the default value.
By default, the aging time of NHRP peer entries is 7200 seconds.
Usage Scenario
This command sets the aging time. The aging time is notified by the local device to the remote end so that the remote end can learn how long local NHRP peer entries can be retained. When a network exception occurs, the remote end deletes local NHRP peer entries based on the configured aging time. After the network recovers, a spoke registers with the hub to generate new NHRP peer entries.
Prerequisites
The following operations have been performed:
Configuration Impact
When you run this command to change the aging time of NHRP peer entries:
Precautions
The value of the parameter holdtime configured by this command must be equal to or larger than the interval configured by the nhrp registration interval command.