R0106-HP MSR Router Series High Availability Command Reference(V7)
54
Syntax
bfd demand enable
undo bfd demand enable
Default
The BFD session is in Asynchronous mode.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
In demand mode, no BFD control packets are exchanged after the session is established. When the
connectivity to another system needs to be verified explicitly, a system sends several BFD control packets
that have the Poll (P) bit set at the negotiated transmit interval. If no response is received within the
detection interval, the session is considered down. If the connectivity is found to be up, no more BFD
control packets are sent until the next command is issued.
In asynchronous mode, both endpoints periodically send BFD control packets to each other. BFD
considers that the session is down if it receives no BFD control packets within a specific interval.
Examples
# Enable the Demand BFD session mode on GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] bfd demand enable
bfd detect-interface
Use bfd detect-interface source-ip to create a BFD session for detecting the local interface state.
Use undo bfd detect-interface to remove the BFD session.
Syntax
bfd detect-interface source-ip ip-address
undo bfd detect-interface
Default
No BFD session is created for detecting the local interface state.
Views
Interface view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the source IP address of BFD control packets.










