95
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
mdc-admin
mdc-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
IPv4 Session Working Under Ctrl Mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
513/513 1.1.1.1 1.1.1.2 Up 2297ms Vlan11
# Display all IPv6 BFD session information.
<Sysname> display bfd session
Total Session Num: 1 Up Session Num: 1 Init Mode: Active