The mpls te timer auto-primary-tunnel delay-delete command sets the hold time of tunnels established using the automatic primary tunnel function.
The undo mpls te timer auto-primary-tunnel delay-delete command restores the default hold time.
By default, the hold time is 300s.
Usage Scenario
If the route or configuration of tunnels established using the automatic primary tunnel function is changed, the tunnel interface may be frequently created and deleted. For example, modifying an LSR ID may cause this problem. To prevent this problem, start a hold timer on a tunnel interface on which tunnels have been successfully established using the automatic primary tunnel function. Before the hold timer expires, the tunnel interface is not deleted even if the preceding problem occurs. To set the timer value, run the mpls te timer auto-primary-tunnel delay-delete command.
Prerequisites
The MPLS view has been displayed using the mpls command.