Configuring a Fallback Cost for an Eth-Trunk Multi-Area Adjacency Interface

Configuring a fallback cost for an Ethernet multi-area adjacency interface helps control route selection.

Context

If a member interface of an Eth-Trunk multi-area adjacency interface goes down, the remaining bandwidth of the Eth-Trunk multi-area adjacency interface may fail to meet user requirements. As a result, user services are affected. To address this problem, run the ospf cost-fallback multi-area command to configure cost-fallback parameters (fallback cost and bandwidth threshold) for the Eth-Trunk multi-area adjacency interface; if the remaining bandwidth of the 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 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 enable [ process-id ] area area-id

    OSPF is enabled on the interface.

  4. Run ospf enable multi-area area-id

    OSPF is enabled on the multi-area adjacency interface.

  5. Run ospf cost-fallback fallbackcost threshold fallbackbw multi-area area-id

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

  6. Run commit

    The configuration is committed.

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