User's Manual

Table Of Contents
557
Users Manual of CS-6306R
55.2.4 Enabling Port BFD Authentication
Port BFD authentication is not activated by default.
Authentication configuration takes immediate effect before BFD neighbor is up, and the two terminals of a link
on which BFD detection is conducted can be up only when their BFD authentication configurations are same.
But if authentication configuration is modified after BFD neighbor is up, the same configurations or different
configurations on the two terminals have no any impact on the BFD neighbors status.
Run the following command to achieve the previous purpose:
Command Purpose
bfd authentication-mode [md5 | meticulous md5
| simple ] <key id><key>
Enables the BFD authentication function.
Displaying the BFD Statistics Information
You can run the following commands to display all kinds of BFD statistics information:
Command Purpose
show bfd interfaces [details]
Displays the ports in the system on which BFD is activated.
show bfd neighbors [details]
Displays BFD neighbors in the system.
BFD Configuration Example 55.3
You need to set related protocols for BFD detection and activate the BFD function on the corresponding port
before configuring BFD.
The following example shows how BFD provides BGP with bidirectional detection:
Establish the EBGP relationship between A and B, and check the link through BFD.
A:
interface vlan1
ip address 1.1.1.1 255.255.255.0
bfd enable
no ip directed-broadcast
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 1.1.1.2 remote-as 200
neighbor 1.1.1.2 fall-over bfd
!