< Home

Configuring BFD for Static Routes

On an IPv4 network, configuring BFD for static routes on the public network can speed up route convergence and improve network reliability.

Procedure

  1. Access the system view.

    system-view

  2. Configure interworking between BFD and a static route.

    ip route-static [ vpn-instance vpn-instance-name ] ip-address { mask | mask-length } { nexthop-address [ public ] | interface-type interface-number [ nexthop-address ] | vpn-instance vpn-instance-name nexthop-address } [ preference preference ] track bfd-session cfg-name [ description description ]
    • Before you configure the interworking, make sure that the destination IP address and next-hop IP address (or outbound interface) are the same as those of the static route. Generally, configure the static route, and then bind it to the BFD session.
    • cfg-name specifies the BFD session, where the link to be monitored is specified.

Follow-up Procedure

To view the configurations of BFD for static routes, you can execute the following commands.

  • Run the display bfd session { all | discriminator discr-value } [ verbose ] command to check the BFD sessions.

    You can view the BFD session only after the parameters of the BFD session are configured and the BFD session is set up.

  • Run the display current-configuration | include bfd command to check the configuration of BFD for static routes.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic