Operation Manual – BFD-GR
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 BFD Configuration
1-7
To do…
Use the command…
Remarks
Configure the
authentication type of the
interface
bfd
authentication-mode
{
md5 key-id key
|
sha1
key-id key
|
simple
key-id
password
}
Optional
By default, the interface
operates in the
non-authentication mode.
Note:
The source address of echo packets must be configured if the BFD session operates in
the echo mode.
1.4 Configuring BFD for Static Routing
A dynamic routing protocol notifies BFD of the neighbor information. BFD uses such
information to establish sessions with neighbors by sending BFD control packets. Static
routing, which cannot discover neighbors dynamically, uses the following approaches:
z
Configure a static route with the local device as the nexthop, and enable BFD on
the peer device
z
Use echo packets to establish a session. These echo messages use the local
device interface address as the destination and are directly forwarded back to the
local device after being sent to the nexthop, without being processed by the BFD
processes.
Follow these steps to configure BFD for static routes:
To do…
Use the command…
Remarks
Enter system view
system-view
—
ip
route-static
dest-address mask
|
mask-length
{ [
gateway-address
bfd
{
control-packet
|
echo-packet
} ] |
[
interface-type interface-number
gateway-address
bfd
{
control-packet
|
echo-packet
} ] }
Enable BFD for a
static route
ip route-static
vpn-instance
s-vpn-instance-name&
<1-6
> dest-address
{
mask
|
mask-length
} {
gateway-address
bfd
{
control-packet
|
echo-packet
} [
public
] |
interface-type interface-number
[
gateway-address bfd
{
control-packet
|
echo-packet
} ] |
vpn-instance
d-vpn-instance-name gateway-address
bfd
{
control-packet
|
echo-packet
} }
Use either
command