Single-hop echo mode

With BFD echo mode enabled for a static route, the output interface sends BFD echo packets to the destination device, which loops the packets back to test the link reachability.


[IMPORTANT: ]

IMPORTANT:

Do not use BFD for a static route with the output interface in spoofing state.


To configure BFD echo mode for a static route:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Configure the source address of echo packets.

bfd echo-source-ip ip-address

By default, the source address of echo packets is not configured.

For more information about this command, see High Availability Command Reference.

3. Configure BFD echo mode for a static route.

  • Method 1:ip route-static dest-address { mask-length | mask } interface-type interface-number next-hop-address bfd echo-packet [ preference preference-value ] [ tag tag-value ] [ description description-text ]

  • Method 2:ip route-static vpn-instance s-vpn-instance-name dest-address { mask-length | mask } interface-type interface-number next-hop-address bfd echo-packet [ preference preference-value ] [ tag tag-value ] [ description description-text ]

By default, BFD echo mode for a static route is not configured.