Configuring bfd for ospf, Configuring control packet bidirectional detection, Configuring echo packet single-hop detection – H3C Technologies H3C S10500 Series Switches User Manual

Page 115

Advertising
background image

100

To do…

Use the command…

Remarks

Enable OSPF NSR

ospf non-stop-routing

Optional
Disabled by default.

Configuring BFD for OSPF

OSPF supports the following BFD detection methods:

Control packet bidirectional detection, which requires BFD configuration to be made on both OSPF
routers on the link.

Echo packet single-hop detection, which requires BFD configuration to be made on one OSPF router
on the link.

Configuring control packet bidirectional detection

Follow these steps to enable BFD control packet bidirectional detection on an OSPF interface:

To do…

Use the command…

Description

Enter system view

system-view

Enter interface view

interface interface-type
interface-number

Enable BFD control packet bidirectional
detection on the interface

ospf bfd enable

Required
Not enabled by

default

NOTE:

One network segment can only belong to one area.

Both ends of a BFD session must be on the same network segment and in the same area.

Configuring echo packet single-hop detection

Follow these steps to enable BFD echo packet single-hop detection on an OSPF interface:

To do…

Use the command…

Description

Enter system view

system-view

Configure the source address of echo packets bfd echo-source-ip ip-address

Required
Not configured by

default

Enter interface view

interface interface-type
interface-number

Enable BFD echo packet single-hop detection
on the interface

ospf bfd enable echo

Required
Not enabled by
default

Advertising