Configuring bfd for static routes, Bfd control packet mode – H3C Technologies H3C S10500 Series Switches User Manual
Page 24

9
NOTE:
When configuring a static route, the static route does not take effect if you specify the next hop address
first and then configure it as the IP address of a local interface, such as Ethernet interface and VLAN
interface.
If you do not specify the preference when configuring a static route, the default preference will be used.
Reconfiguring the default preference applies only to newly created static routes.
You can flexibly control static routes by configuring tag values and using the tag values in the routing
policy.
If the destination IP address and mask are both configured as 0.0.0.0 with the ip route-static command,
then the route is the default route.
For detailed information about track, see
High Availability Configuration Guide.
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 and
Multiprotocol Label Switching (MPLS). 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, you need to enable BFD
control packet mode for each device’s static route destined to the peer.
To configure a static route and enable BFD control packet mode for it, specify an outbound interface and
a direct next hop—BFD establishes a direct session, or specify an indirect next hop and a specific BFD
packet source address—BFD establishes an indirect session—for the static route.
Follow these steps to configure a static route with BFD control packet mode enabled (direct session):
To do…
Use the command…
Remarks
Enter system view
system-view
—
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 ]
Configure a static route
and enable BFD control
packet mode for it
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 ]
Required
Use either
command