< Home

(Optional) Configuring LDP Loop Detection

Context

The device does not support LDP loop detection. If the neighbor of a node supports loop detection and requires the same loop detection function on both ends of an LDP session, configure LDP loop detection on the local node to ensure the establishment of an LDP session.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls ldp

    The MPLS LDP view is displayed.

  3. Run loop-detect

    The device is enabled to advertise the loop detection capability during initialization of LDP sessions.

    By default, a device does not advertise loop detection capability during initialization of LDP sessions.

  4. (Optional) Run path-vectors integer

    The maximum value of a path vector is specified.

    By default, a maximum of 32 hops of the path vector are used for LDP loop detection.

    A path vector is carried in a Mapping message to record the addresses of nodes that an LDP LSP has passed. By setting the maximum hops that a path vector can record, you can adjust the sensitivity of LDP loop detection. If the maximum hops of a path vector is n, the egress LSP triggered by local routes detects a loop after n + 1 hops, and the egress LSP triggered by non-local routes detects a loop after n hops.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >