ospf primary-path-detect bfd
Use ospf primary-path-detect bfd to enable BFD for OSPF FRR or OSPF PIC.
Use undo ospf primary-path-detect bfd to disable BFD for OSPF FRR or OSPF PIC.
Syntax
ospf primary-path-detect bfd { ctrl | echo }
undo ospf primary-path-detect bfd
Default
BFD is disabled for OSPF FRR or OSPF PIC.
Views
Interface view
Predefined user roles
network-admin
Parameters
ctrl: Enables BFD control packet mode.
echo: Enables BFD echo packet mode.
Usage guidelines
This command enables OSPF PIC or OSPF FRR to use BFD to detect primary link failures.
Examples
# On VLAN-interface 10, enable BFD control packet mode for OSPF FRR.
<Sysname> system-view [Sysname] ospf 1 [Sysname-ospf-1] fast-reroute lfa [Sysname-ospf-1] quit [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf primary-path-detect bfd ctrl
# On VLAN-interface 11, enable BFD echo packet mode for OSPF PIC.
<Sysname> system-view [Sysname] ospf 1 [Sysname-ospf-1] pic additional-path-always [Sysname-ospf-1] quit [Sysname] bfd echo-source-ip 1.1.1.1 [Sysname] interface vlan-interface 11 [Sysname-Vlan-interface11] ospf primary-path-detect bfd echo