< Home

ospf bfd block

Function

The ospf bfd block command blocks the bidirectional forwarding detection (BFD) dynamically created by an interface.

The undo ospf bfd block command cancels the feature.

Format

ospf bfd block

undo ospf bfd block

Parameters

None

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view, Virtual-Template interface view, BDIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the bfd all-interfaces enable command is run in the OSPF process, all neighbors that enable OSPF and the neighbor relationship is in Full state create BFD sessions. To prevent specific interfaces from being enabled with BFD, you can disable their interfaces from dynamically creating BFD sessions.

Prerequisites

BFD has been enabled on these interfaces.

Precautions

The ospf bfd enable command and the ospf bfd block command are mutually exclusive.

Example

# Block the BFD dynamically created by GigabitEthernet 0/0/1 when configured the BFD for OSPF of all interfaces in the OSPF process.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] ospf bfd block
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >