R2511-HP MSR Router Series High Availability Command Reference(V5)
2
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] bfd authentication-mode md5 15 BfdKey
bfd detect-interface
Use bfd detect-interface to create a BFD session to detect the local interface status.
Use undo bfd detect-interface to delete the BFD session.
Syntax
bfd detect-interface source-ip source-ip-address
undo bfd detect-interface
Default
No BFD session is created to detect the local interface status.
Views
Interface view
Default command level
2: System level
Parameters
source-ip-address: Specifies the source IP address for BFD control packets.
Usage guidelines
By using a millisecond-level detection time, BFD can immediately shut down an interface after detecting
that the BFD session on it goes down.
You must specify the BFD control packet mode on both ends.
The default destination IP address of BFD control packets is 224.0.0.184, which cannot be modified.
Examples
# Create a BFD session to detect the status of interface Ethernet 1/1, and specify the source IP address
of BFD control packets as 10.0.0.1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] bfd detect-interface source-ip 10.0.0.1
[Sysname-Ethernet1/1] display bfd session
Total session number: 1 Up session number: 0 Init mode: Active
IPv4 session working under Ctrl mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
11/516 10.0.0.1 224.0.0.184 Init 2100ms Eth1/1
bfd echo-source-ip
Use bfd echo-source-ip to configure the source IP address of BFD echo packets.
Use undo bfd echo-source-ip to remove the configured source IP address of BFD echo packets.
Syntax
bfd echo-source-ip ip-address










