< Home

Configuring Loop Detection

Context

In the loop detection mechanism, a maximum number of 32 hops are allowed on an LSP. If information about the local LSR is recorded in the path information table, or the number of hops on the path exceeds 32, this indicates that a loop occurs and the LSP fails to be set up. By configuring the loop detection function, you can prevent loops.

Perform the following configurations on the ingress node of an MPLS TE tunnel.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface tunnel interface-number

    The tunnel interface view of the MPLS TE tunnel is displayed.

  3. Run mpls te loop-detection

    The loop detection on tunnel creation is enabled.

    By default, loop detection is disabled.

  4. Run mpls te commit

    The current tunnel configuration is committed.

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