Configuring Proactive Loop Detection upon Interface Up

Proactive loop detection upon interface Up takes effect only after being configured both in the system and interface views.

Context

Perform the following steps on each PE.

In VS mode, this configuration task is supported only by the admin VS.

It is recommended that you disable this function on properly running devices. If you have to use this function to detect whether links operate properly during site deployment, be sure to disable this function after this stage.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run loop-detect trigger enable

    Proactive loop detection upon interface Up is enabled globally.

    • After proactive loop detection upon interface Up is enabled globally, the function must also be enabled on an interface to take effect.
    • After proactive loop detection upon interface Up is disabled globally, the function stops taking effect.

  3. (Optional) Run interface { ethernet | gigabitethernet | eth-trunk } interface-number

    The Ethernet interface view is displayed.

  4. (Optional) Run undo loop-detect trigger disable

    Proactive loop detection upon interface Up is enabled.

    • The Ethernet interface must be an AC interface.
    • Proactive loop detection upon interface Up takes effect only after being enabled in both the system and interface views.

  5. (Optional) Run loop-detect trigger min-slot-uptime min-slot-uptime

    A minimum period during which an interface board must be working before proactive loop detection is triggered is configured.

  6. (Optional) Run loop-detect trigger min-port-uptime min-port-uptime

    A minimum period during which an interface must be Down before a change to Up triggers proactive loop detection is configured.

  7. (Optional) Run loop-detect trigger detection vid low-vid [ to high-vid ]

    A VLAN range for the main interface to send proactive loop detection packets is set.

  8. Run commit

    The configuration is committed.

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