R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
115
<Sysname> system-view
[Sysname] interface GigabitEthernet 2/0/0
[Sysname-GigabitEthernet2/0/0] ospf authentication-mode md5 15 plain abc
# Configure the network 131.119.0.0/16 in Area 1 to use simple authentication, and set the interface the
plaintext authentication password to abc.
<Sysname> system-view
[Sysname] interface GigabitEthernet 2/0/0
[Sysname-GigabitEthernet2/0/0] ospf authentication-mode simple plain abc
Related commands
authentication-mode
ospf bfd enable
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.
Syntax
ospf bfd enable [ echo ]
undo ospf bfd enable
Default
BFD is not enabled on an OSPF interface.
Views
Interface view
Default command 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.
Examples
# Enable OSPF and BFD on GigabitEthernet 2/1/1.
<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-ospf-1-area-0.0.0.0] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ospf bfd enable
ospf cost
Use ospf cost to set an OSPF cost for the interface.
Use undo ospf cost to restore the default.