Configuring Tunnel Reestablishment Parameters
Context
By configuring the tunnel reestablishment function, you can periodically recompute the route for a CR-LSP. If the route in recomputation is better than the route in use, a new CR-LSP is then established according to the recomputed route. In addition, services are switched to the new CR-LSP, and the previous CR-LSP is deleted.
Perform the following configurations on the ingress node of an MPLS TE tunnel.
Procedure
- Run system-view
The system view is displayed.
- Run interface tunnel interface-number
The tunnel interface view of the MPLS TE tunnel is displayed.
- Run mpls te timer retry interval
The interval for re-establishing a tunnel is specified.
By default, the interval for re-establishing a tunnel is 30 seconds.
- Run mpls te commit
The current tunnel configuration is committed.
If the establishment of a tunnel fails, the system attempts to reestablish the tunnel within the set interval and the maximum number of attempts is the set reestablishment times.