< Home

Configuring Static BFD for IPv6 Static Routes

Usage Scenario

To use BFD sessions to provide link detection for IPv6 static routes, you can bind IPv6 static routes to BFD sessions. One IPv6 static route can be bound to one BFD session.

Optimal IPv6 static routes are delivered to the forwarding table for packet forwarding. However, IPv6 static routes cannot detect the status of the link to the next hop. You can bind IPv6 static routes to BFD sessions. A BFD session can fast detect changes over a link and inform the routing management system of the changes. The routing management system immediately deletes the static route that is bound to the BFD session from the forwarding table and recalculates another active route. In this manner, fast route convergence is implemented.

Pre-configuration Tasks

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

  • Configure link layer protocol parameters and IP addresses for interfaces and ensure that the link layer protocol of the interfaces is Up.

  • 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 ipv6 route-static dest-ipv6-address prefix-length { interface-type interface-number [ nexthop-ipv6-address ] | nexthop-ipv6-address | vpn-instance vpn-destination-name nexthop-ipv6-address } [ preference preference | tag tag ] * [ track bfd-session cfg-name ] [ description text ]

    A BFD session is bound to an IPv6 static route.

    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 static BFD for IPv6 static routes.

    Before associating a static route with a BFD session, ensure that the BFD session and static route are on the same link.

    When a BFD session is associated with VRRP or a static route, the system does not allow the associated BFD session to be deleted by default. 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. However, deleting the BFD session will prevent the configured association function from being implemented.

Verifying the Configuration

Run the following commands to check the previous configuration.

Information about a BFD session can be viewed only after parameters of the BFD session are set and the BFD session is established.

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

  • Run the display current-configuration | include bfd command to check configurations of BFD for IPv6 static routes.

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