[Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[Sysname-ospf-100-area-0.0.0.1] authentication-mode md5
[Sysname-ospf-100-area-0.0.0.1] quit
[Sysname-ospf-100] quit
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospf authentication-mode md5 15 plain abc
# Configure the network 131.119.0.0/16 in Area 1 to support simple authentication, and set for the
interface the plaintext authentication password to abc.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255
[Sysname-ospf-100-area-0.0.0.1] authentication-mode simple
[Sysname-ospf-100-area-0.0.0.1] quit
[Sysname-ospf-100] quit
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospf authentication-mode simple plain abc
ospf bfd enable
Syntax
ospf bfd enable [ echo ]
undo ospf bfd enable
View
Interface view
Default level
2: System level
Parameters
echo: Configures BFD echo packet single-hop detection. If this keyword is not specified, BFD control
packet bidirectional detection is enabled.
Description
Use ospf bfd enable to enable BFD for link failure detection on an OSPF interface.
Use undo ospf bfd enable to disable BFD on an OSPF interface.
By default, an OSPF interface is not enabled with BFD.
Examples
# Enable OSPF and BFD 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
107