The ip route-static track bfd-session admindown invalid command prevents a static route from being selected if the BFD session associated with it is in the AdminDown state.
The undo ip route-static track bfd-session admindown invalid command restores the default configuration.
By default, a static route can still be selected by the Router even though the BFD session associated with it is in the AdminDown state.
Usage Scenario
By default, a static route can still be selected by Huawei devices even though the BFD session associated with it is in the AdminDown state, but not by non-Huawei devices. As a result, Huawei devices cannot interwork with non-Huawei devices.
To address this problem, run the ip route-static track bfd-session admindown invalid command to configure the Router not to select the static route if the BFD session associated with it is in the AdminDown state.Prerequisites
The BFD session has been created.
Precautions
The undo ip route-static track bfd-session admindown invalid command enables all static routes to be selected by the Router even though the BFD sessions associated with them are in the AdminDown state.
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] bfd bfda bind peer-ip 1.1.1.1 [*HUAWEI-bfd-session-bfda] discriminator local 20 [*HUAWEI-bfd-session-bfda] discriminator remote 10 [*HUAWEI-bfd-session-bfda] quit [*HUAWEI] ip route-static track bfd-session session-name bfda admindown invalid