The path-vectors command sets the maximum number of hops of the path vector that is used for LDP loop detection.
The undo path-vectors command restores the default setting.
By default, a maximum of 32 hops of the path vector are used for LDP loop detection.
Parameter | Description | Value |
---|---|---|
integer | Specifies the path vector. | The value is an integer ranging from 1 to 32. |
Usage Scenario
A scenario assumes that LDP loop detection is configured using the path vector, and the maximum number of hops of the path vector is n. The egress LSP triggered by local routes detects loop after n + 1 hops, whereas the egress LSP triggered by non-local routes (proxy egress) detects loops after n hops.
Prerequisites
The path-vectors command has been configured before LDP is enabled on all interfaces. The path-vectors command takes effect only after MPLS LDP is enabled in the related view.