< Home

ip route-static track bfd-session admindown invalid

Function

The ip route-static track bfd-session admindown invalid command disables a switch from selecting a static route if the BFD session associated with the route 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 participate in route selection even if its bound BFD session is in the AdminDown state.

Product

Support

S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S

Supported

S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S6720-LI, and S6720S-LI

Not supported

Format

ip route-static track bfd-session session-name bfd-name admindown invalid

undo ip route-static track bfd-session session-name bfd-name admindown invalid

undo ip route-static track bfd-session admindown invalid

Parameters

Parameter Description Value
session-name bfd-name

Specifies a BFD session bound to a static route.

The value is a string of 1 to 15 case-insensitive characters without spaces. If the string is enclosed within double quotation marks ("), the string can contain spaces.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, if a BFD session associated with a static route is in the AdminDown state, the route can participate in route selection on Huawei switches, but is not allowed for route selection on some non-Huawei devices. As a result, Huawei switches cannot communicate with such non-Huawei devices.

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

Prerequisites

The BFD session specified by bfd-name has been created.

Example

# Disable a switch from selecting a static route if the BFD session associated with the route is in 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] commit
[HUAWEI-bfd-session-bfda] quit
[HUAWEI] ip route-static track bfd-session session-name bfda admindown invalid
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >