HP MSR2000/3000/4000 Router Series High Availability Command Reference

54
Default
BFD uses the active mode.
Views
System view
Predefined user roles
network-admin
Parameters
active: Uses the active mode. In active mode, BFD actively transmits BFD control packets to the remote
device, regardless of whether it receives a BFD control packet from the remote device.
passive: Uses the passive mode. In passive mode, BFD does not actively transmit a BFD control packet to
the remote end; it transmits a BFD control packet only after receiving a BFD control packet from the
remote end.
Usage guidelines
At least one end must operate in active mode for a BFD session to be established.
Examples
# Configure the session establishment mode as passive.
<Sysname> system-view
[Sysname] bfd session init-mode passive
display bfd session
Use display bfd session to display BFD session information.
Syntax
display bfd session [ discriminator value | verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
discriminator value: Specifies a local ID in the range of 1 to 4294967295. If this option is not specified,
the command displays brief information about all BFD sessions.
verbose: Displays detailed BFD session information. If this keyword is not specified, the command
displays brief BFD session information.
Examples
# Display all IPv4 BFD session information.
<Sysname> display bfd session
Total Session Num: 1 Up Session Num: 1 Init Mode: Active