The hop-limit command sets the maximum number of hops on a P2P TE tunnel in a P2P TE tunnel template.
The undo hop-limit command restores the default hop limit.
By default, the maximum number of hops on a P2P TE tunnel is 32.
Usage Scenario
To set the maximum number of hops on a P2P TE tunnel established using a P2P TE tunnel template, run the hop-limit command. With this limit, a device excludes paths with less than 32 hops when selecting a path for a P2P TE tunnel.
Prerequisites
A P2P TE tunnel template has been configured using the mpls te p2p-template command.