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.
The system view is displayed.
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.