Configuring a Fallback Cost for an Eth-Trunk Interface

A fallback cost of an Eth-Trunk interface helps adjust route selection dynamically.

Context

If a member interface of an Eth-Trunk interface goes down, the remaining bandwidth of the Eth-Trunk interface may fail to meet user requirements. As a result, user services are affected. To address this problem, run the ospf cost-fallback command to configure cost-fallback parameters (fallback cost and bandwidth threshold) for the Eth-Trunk interface; if the remaining bandwidth of the Eth-Trunk interface goes below the bandwidth threshold, the cost of the interface is changed to the fallback cost which is higher than the normal cost, and traffic is then switched to an alternative path; when the remaining bandwidth of the Eth-Trunk interface reaches or exceeds the bandwidth threshold, the original cost is restored.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface eth-trunk trunk-id

    The Eth-Trunk interface view is displayed.

  3. Run ospf cost-fallback fallbackcost threshold fallbackbw

    A fallback cost is configured for an Eth-Trunk interface.

  4. Run commit

    The configuration is committed.

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