mpls te retry
Use mpls te retry to set the maximum number of tunnel setup attempts.
Use undo mpls te retry to restore the default.
Syntax
mpls te retry retries
undo mpls te retry
Default
The maximum number of tunnel setup attempts is 3.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
retries: Specifies the number of tunnel setup attempts, in the range of 1 to 4294967295.
Usage guidelines
After failing to establish an MPLS TE tunnel, the tunnel ingress node waits for the tunnel setup retry interval (configured by the mpls te timer retry command). Then it tries to set up the tunnel until the tunnel is established successfully. If the tunnel cannot be established when the number of attempts reaches the maximum, the ingress waits for a longer period and then repeats the previous process.
Examples
# Set the maximum number of tunnel setup attempts to 20.
<Sysname> system-view [Sysname] interface tunnel 0 mode mpls-te [Sysname-Tunnel0] mpls te retry 20
Related commands
display mpls te tunnel-interface
mpls te timer retry