Configuring control packet bidirectional detection, Configuring echo packet single-hop detection – H3C Technologies H3C SR8800 User Manual

Page 120

Advertising
background image

104

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

To enable BFD control packet bidirectional detection on an OSPF interface:

Step Command

Description

1.

Enter system view.

system-view

N/A

2.

Enable an OSPF process and enter OSPF
view.

ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *

N/A

3.

Specify a network to enable OSPF on the
interface attached to the network.

network ip-address wildcard-mask

Not specified by
default

4.

Exit to system view.

quit

N/A

5.

Enter interface view.

interface interface-type
interface-number

N/A

6.

Enable BFD control packet bidirectional

detection on the interface.

ospf bfd enable

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

To enable BFD echo packet single-hop detection on an OSPF interface:

Step Command

Description

1.

Enter system view.

system-view

N/A

2.

Configure the source address of echo
packets.

bfd echo-source-ip ip-address

Not configured by
default

3.

Enable an OSPF process and enter OSPF
view.

ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *

N/A

4.

Specify a network to enable OSPF on the
interface attached to the network.

network ip-address wildcard-mask

N/A

5.

Return to system view.

quit

N/A

6.

Enter interface view.

interface interface-type
interface-number

N/A

7.

Enable BFD echo packet single-hop
detection on the interface.

ospf bfd enable echo

Not enabled by
default

Advertising