The mpls te hop-limit command sets the maximum number of hops on a tunnel.
The undo mpls te hop-limit command restores the default setting for the maximum number of hops.
By default, the path hop limit of a tunnel is 32.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] interface tunnel 1 [*HUAWEI-Tunnel1] tunnel-protocol mpls te [*HUAWEI-Tunnel1] mpls te hop-limit 10 [*HUAWEI-Tunnel1] mpls te hop-limit 10 secondary [*HUAWEI-Tunnel1] mpls te hop-limit 10 best-effort