Configuring the BFD Echo Function
Pre-configuration Tasks
The BFD Echo function detects fast detect faults on directly connected links.
Before configuring the BFD Echo function, complete the following tasks:
Connect interfaces properly.
Correctly configure an IP address for the Layer 3 interface.
Procedure
- Run system-view
The system view is displayed.
- Run bfd
BFD is enabled globally and the BFD view is displayed.
By default, BFD is disabled globally.
- Run quit
Return to the system view.
- Run bfd session-name bind peer-ip peer-ip [ vpn-instance vpn-instance-name ] interface interface-type interface-number [ source-ip ip-address ] one-arm-echo
A BFD session supporting the BFD Echo function is configured.
By default, the BFD Echo function is not configured.
The BFD Echo function is only applicable to single-hop BFD sessions.
A BFD session currently does not detect route switching. If the change of bound peer IP address causes a route to switch to another link, the BFD session is negotiated again only when the original link fails.
- Run discriminator local discr-value
The discriminator for the BFD session is configured.
You can only configure the local discriminator because the BFD Echo function is only configured on one device supporting BFD.
- Run commit
The configuration is committed.