HP VPN Firewall Appliances High Availability Command Reference

148
Syntax
bfd session init-mode { active | passive }
undo bfd session init-mode
Default
BFD uses the active mode.
Views
System view
Default command level
2: System level
Parameters
active: Uses the active mode. In the active mode, BFD actively transmits BFD control packets to the remote
device.
passive: Uses the passive mode. In the 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.
Examples
# Configure the session establishment mode as passive.
<Sysname> system-view
[Sysname] bfd session init-mode passive
display bfd debugging-switches
Use display bfd debugging-switches to display enabled BFD debugging switches.
Syntax
display bfd debugging-switches [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display enabled BFD debugging switches.
<Sysname> display bfd debugging-switches