Default command level
2: System level
Parameters
port-number: Destination port number for multi-hop BFD control packets, 3784 or 4784.
Examples
# Configure the destination port number for multi-hop BFD control packets as 3784.
<Sysname> system-view
[Sysname] bfd multi-hop destination-port 3784
bfd session init-mode
Use bfd session init-mode to configure the mode for establishing a BFD session.
Use undo bfd session init-mode to restore the default.
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 active mode, BFD actively transmits BFD control packets to 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.
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
131