bfd (Segment routing view)

Function

The bfd enable command enables BFD for SR tunnels created by the SEGR module.

The undo bfd command deletes BFD parameters for SR tunnels.

By default, no BFD parameters are set for SR tunnels.

Format

bfd tunnel { min-tx-interval transmit-interval | min-rx-interval receive-interval | detect-multiplier multiplier-value } *

undo bfd tunnel { min-tx-interval [ transmit-interval ] | min-rx-interval [ receive-interval ] | detect-multiplier [ multiplier-value ] } *

Parameters

Parameter Description Value
min-tx-interval transmit-interval

Specifies the minimum interval for sending BFD packets to the peer.

The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10.

min-rx-interval receive-interval

Specifies the minimum interval for receiving BFD packets from the peer.

The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10.

detect-multiplier multiplier-value

Specifies a local detection multiplier.

The value is an integer ranging from 3 to 50.

tunnel

Specifies an SR tunnel.

-

Views

Segment routing view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
segr write

Usage Guidelines

Usage Scenario

To set BFD parameters for SR tunnels, run the bfd (segment routing) command, which helps devices adapt to various network requirements.

Prerequisites

Commands, such as bfd and bfd enable mode tunnel, have been configured.

Example

# Set the minimum interval at which SBFD packets are sent to monitor SR tunnels to 300 ms.
<HUAWEI> system-view
[~HUAWEI] bfd
[*HUAWEI-bfd] quit
[*HUAWEI] segment-routing
[*HUAWEI-segment-routing] bfd enable mode tunnel
[*HUAWEI-segment-routing] bfd tunnel min-tx-interval 300
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >