< Home

(Optional) Preventing a Static Route from Being Selected If the Associated BFD Session Is in AdminDown State

Context

If the BFD session associated with a static route on the switch is in AdminDown state, you can configure the switch not to select the static route. This ensures that the switch can work together with non-Huawei devices.

By default, a static route can still be selected by the switch even if the BFD session associated with it is in AdminDown state. However, this is not the case for non-Huawei devices. As a result, the switch cannot interwork with non-Huawei devices.

To address this problem, run the ip route-static track bfd-session admindown invalid command to configure the switch not to select the static route if the associated BFD session is in AdminDown state.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip route-static track bfd-session session-name bfd-name admindown invalid

    The switch is configured not to select the static route if the associated BFD session is in AdminDown state.

    By default, a static route can still be selected by the switch even if the associated BFD session is in AdminDown state.

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