Configuring bfd for static routes, Bfd control packet mode – H3C Technologies H3C SecPath F1000-E User Manual
Page 363
338
Configuring BFD for static routes
Bidirectional forwarding detection (BFD) provides a general-purpose, standard, medium-, and
protocol-independent fast failure detection mechanism. It can uniformly and quickly detect the failures of
the bidirectional forwarding paths between two routers for protocols, such as routing protocols. For more
information about BFD, see High Availability Configuration Guide.
A dynamic routing protocol notifies BFD of its neighbor information. BFD uses such information to
establish sessions with neighbors by sending BFD control packets. Static routing has no neighbor
discovery mechanism. This section describes how static routing implements BFD.
BFD control packet mode
To use BFD control packets for bidirectional detection between two devices, enable BFD control packet
mode on each device for the static route destined to the peer.
To configure a static route and enable BFD control packet mode for it, specify an outgoing interface and
a direct next hop, or specify an indirect next hop and a specific BFD packet source address for the static
route.
To configure a static route with BFD control packet mode enabled (direct next hop):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a static
route and enable
BFD control packet
mode for it.
•
Approach 1:
ip route-static dest-address { mask | mask-length }
interface-type interface-number next-hop-address bfd
control-packet [ preference preference-value ] [ tag
tag-value ] [ description description-text ]
•
Approach 2:
ip route-static vpn-instance s-vpn-instance-name&<1-6>
dest-address { mask | mask-length } interface-type
interface-number next-hop-address bfd control-packet
[ preference preference-value ] [ tag tag-value ] [ description
description-text ]
Use either
approach.
To configure a static route with BFD control packet mode enabled (indirect next hop):
Step Command…
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a static
route and enable
BFD control packet
mode for it.
•
Approach 1:
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 ]
•
Approach 2:
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 either approach.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer