ospf bfd enable

Use ospf bfd enable to enable BFD on an OSPF interface.

Use undo ospf bfd enable to disable BFD on an OSPF interface.

Syntax

ospf bfd enable [ echo ]

undo ospf bfd enable

Default

BFD for OSPF is disabled.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

echo: Enables BFD single-hop echo detection. Without this keyword, this command enables BFD bidirectional control detection.

Usage guidelines

Do not use OSPF FRR and BFD for OSPF at the same time. Otherwise, OSPF FRR might fail to take effect.

Examples

# Enable BFD for OSPF on VLAN-interface 11.

<Sysname> system-view
[Sysname] ospf
[Sysname-ospf-1] area 0
[Sysname-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255
[Sysname] interface vlan-interface 11
[Sysname-Vlan-interface11] ospf bfd enable