1-6
z
Configure the network layer addresses of the interfaces so that adjacent nodes are reachable to
each other at the network layer;
z
Configure the routing protocols that support BFD
Configuration Procedure
Follow these steps to configure BFD basic functions:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Specify a BFD session initiation
mode
bfd session init-mode
{
active
|
passive
}
Optional
active
by default
Enter interface view
interface
interface-type
interface-number
—
Configure the minimum BFD
transmit interval
bfd min-transmit-interval
value
Optional
400 seconds by default
Configure the minimum echo
receive interval
bfd
min-echo-receive-interval
value
Optional
400 seconds by default
Configure the minimum packet
receive interval
bfd min-receive-interval
value
Optional
400 seconds by default
Configure the detect time
multiplier
bfd detect-multiplier
value
Optional
5 by default
Configure the authentication
type
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.
Configuring Protocol-based BFD
Configuring BFD for OSPF
After discovering neighbors by sending hello packets, OSPF notifies BFD of the neighbor addresses,
and BFD uses theses addresses to establish sessions. Before a BFD session is established, it is in the
Down
state. In this state, BFD control packets are sent at an interval of not less than one second to
reduce BFD control packet traffic. After the BFD session is established, BFD control packets are sent at
the negotiated interval, thereby implementing fast fault detection. To configure BFD for OSPF, you need
to configure OSPF first.
Follow these steps to enable BFD on an OSPF interface:
To do…
Use the command…
Description
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Enable BFD on the interface
ospf bfd enable
Required
Not enabled by default