< Home

bfd-detect

Function

The bfd-detect command enables dynamic BFD for PW in a PW template and adjusts the sending interval, receiving interval, and local detection multiplier of BFD detection packet.

The undo bfd-detect command restores the default configuration.

By default, dynamic BFD for PW is not enabled in a PW template.

Format

bfd-detect [ min-tx-interval tx-interval | min-rx-interval rx-interval | detect-multiplier multiplier ] *

undo bfd-detect

Parameters

Parameter

Description

Value

min-tx-interval tx-interval

Specifies the interval at which BFD packets are sent.

The value ranges from 100 to 1000, in milliseconds. By default, the value is 1000. After the set service-mode enhanced command is configured on the S5720-HI, S5731-H, S5731S-H, S5730-HI, and S6720-HI, the value ranges from 3 to 1000. After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730S-H, and S6730-H, the value ranges from 3 to 1000.

min-rx-interval rx-interval

Specifies the interval at which BFD packets are received.

The value ranges from 100 to 1000, in milliseconds. By default, the value is 1000. After the set service-mode enhanced command is configured on the S5720-HI, S5731-H, S5731S-H, S5730-HI, and S6720-HI, the value ranges from 3 to 1000. After the set service-mode enhanced-bfd command is configured on the S5732-H, S6730S-H, and S6730-H, the value ranges from 3 to 1000.

detect-multiplier multiplier

Specifies the local detection multiplier value of a BFD session.

An integer ranging from 3 to 50. The value is 3 by default.

Views

PW template view

Default Level

2: Configuration level

Usage Guidelines

If the BFD session is found to be Down, the system automatically adjusts the receiving interval and sending interval of the local end to a random value ranging from 1000 ms to 3000 ms to reduce system resource utilization. When the BFD session restores the Up state, the user-defined interval is used again.

Example

# Enable dynamic BFD detection, and set min-tx-interval, min-rx-interval, and multiplier to 100 ms, 100 ms, and 4 respectively in the PW template.

<HUAWEI> system-view
[HUAWEI] pw-template pwt
[HUAWEI-pw-template-pwt] bfd-detect min-rx-interval 100 min-tx-interval 100 detect-multiplier 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >