ospfv3 bfd block

Function

The ospfv3 bfd block command disables or blocks BFD on an OSPFv3 interface and sets parameter values for BFD sessions.

The undo ospfv3 bfd block command enables BFD on an OSPFv3 interface or restores the default values of BFD session parameters.

By default, BFD is not enabled on an OSPFv3 interface.

Format

ospfv3 bfd block [ instance instance-id ]

undo ospfv3 bfd block [ instance instance-id ]

Parameters

Parameter Description Value
instance instance-id

Indicates the ID of the instance to which the interface belongs.

The value is an integer ranges from 0 to 255.

block

Disables BFD from an OSPFv3 interface.

-

Views

100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, Global VE sub-interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

Either a link fault or topology change on a network will cause routes to be re-calculated within an area. As such, speeding up the convergence of a routing protocol is critical to improving the network performance.

As link faults are inevitable, rapidly detecting these faults and notifying routing protocols is an effective way to quickly mitigate them. This includes associating BFD with a routing protocol to speed up convergence of the routing protocol once a link fault occurs.

Prerequisites

BFD has been enabled on the interface.

Implementation Procedure

The receive-interval is negotiated by the local and peer ends by comparing the values of the local min-rx-interval and the peer min-tx-interval. If the local end fails to receive a BFD packet from the neighbor within an interval of receive-interval * multiplier-value, the local end considers the neighbor Down.

Configuration Impact

If global BFD is not enabled, BFD can be enabled on an interface. The BFD session, however, cannot be set up after BFD is enabled on the interface. If the parameters of a BFD session are set but the ospfv3 bfd enable command is not run, the BFD session cannot be set up.

The BFD configuration on an interface takes precedence over that in a process. If BFD is enabled on an interface, a BFD session is established according to the BFD parameters set on the interface.

Follow-up Procedure

Run the display ospfv3 bfd session command to view the information about neighbors enabled with BFD.

Precautions

After BFD is enabled, a device sets up BFD sessions with only adjacencies.

The ospfv3 bfd enable command and ospfv3 bfd block commandare mutually exclusive in function, and the later configuration overwrites the previous one.

NOTE:

After BFD is disabled from an interface using the undo ospfv3 bfd enable command, the parameters for setting up BFD sessions remain on this interface but no longer take effect.

Example

# Disable BFD on an interface.
<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] ospfv3 1 area 0
[*HUAWEI-GigabitEthernet0/1/0] ospfv3 bfd enable
[*HUAWEI-GigabitEthernet0/1/0] ospfv3 bfd block
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >