To do...
Configure a static route
and enable BFD control
packet mode for it
BFD echo packet mode
With BFD echo packet mode enabled for a static route, the local device sends BFD echo packets to the
peer, which loops it back to test the link.
Follow these steps to configure BFD echo packet mode for static routes:
To do...
Enter system view
Configure the source
address of echo packets
Enable BFD echo packet
mode for static routes
NOTE:
If route flaps occur, enabling BFD could worsen them.
•
For the echo mode, only one end needs to establish the BFD session, and the source address of echo
•
packets must be configured.
BFD cannot be used for a static route with the outbound interface having the spoofing attribute.
•
Configuring static route FRR
When a link or a router fails, the packets on the path may be discarded, or a routing loop occurs. To
avoid such problems, you can enable static route fast reroute (FRR).
Use the command...
ip route-static dest-address { mask | mask-length }
next-hop-address bfd control-packet bfd-source ip-address
[ preference preference-value ] [ tag tag-value ] [ description
description-text ]
ip route-static vpn-instance s-vpn-instance-name&<1-6>
dest-address { mask | mask-length } next-hop-address bfd
control-packet bfd-source ip-address [ preference
preference-value ] [ tag tag-value ] [ description description-text ]
Use the command...
system-view
bfd echo-source-ip ip-address
ip route-static dest-address { mask | mask-length } interface-type
interface-number next-hop-address bfd echo-packet [ preference
preference-value ] [ tag tag-value ] [ description description-text ]
ip route-static vpn-instance s-vpn-instance-name&<1-6>
dest-address { mask | mask-length } interface-type
interface-number next-hop-address bfd echo-packet [ preference
preference-value ] [ tag tag-value ] [ description description-text ]
9
Remarks
Required
Use either
command
Remarks
—
Required
Not configured
by default
Use either
command