< Home

Configuring Static BFD for IPv4 Static Routes

Pre-configuration Tasks

Before configuring static BFD for IPv4 static routes, complete the following tasks:

  • Configure link layer parameters and IP addresses for interfaces to ensure network-layer communication between neighbor nodes.

  • Configure a BFD session.

    For details, see BFD Configuration in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - Reliability.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ip route-static ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] } [ preference preference | tag tag ] * track bfd-session cfg-name [ description text ]

    An IPv4 static route on a public network is associated with a BFD session.

    • Only the 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 support BFD for IPv4 static routes.
    • Before associating a static route with a BFD session, ensure that the BFD session and static route are on the same link.
    • BFD Echo function can be associated with the a static route.
    • When a BFD session is associated with VRRP or a static route, by default, the system does not allow the associated BFD session to be deleted. To delete the associated BFD session, run the bfd session nonexistent-config-check disable command to prevent the device from checking whether the associated BFD session is deleted. Note that deleting the BFD session will prevent the configured association function from being implemented.

Verifying the Configuration

Run the following command to check the previous configuration.

  • Run the display bfd session all [ verbose ] command to check information about the BFD session.

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