The e-trunk bfd command configures dynamic Bidirectional Forwarding Detection (BFD) session parameters in E-Trunk scenarios so that a dynamic BFD session is negotiated based on the configured parameters.
The undo e-trunk bfd command restores the default values of dynamic BFD session parameters.
The default local detection multiplier, minimum interval between receiving BFD packets, and minimum interval between sending BFD packets are 3, 10 ms, and 10 ms, respectively.
Parameter | Description | Value |
---|---|---|
min-tx-interval mintx |
Specifies the minimum interval at which BFD packets are sent. |
The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10. |
min-rx-interval minrx |
Specifies the minimum interval at which BFD packets are received. |
The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10. |
detect-multiplier multiplier |
Specifies a local detection multiplier of a dynamic BFD session. You can specify different detection multipliers for both ends of a BFD session as required. Detection multipliers do not need to be negotiated during BFD session establishment. |
The value is an integer ranging from 3 to 50. |
Usage Scenario
You can set proper BFD session parameters as required.
If a device does not receive BFD packets from its peer before a specified detection period expires, the device considers the link faulty and sets the BFD session to Down. To reduce system resource consumption, the device automatically changes the local receive interval to a random value greater than 1000 ms after detecting that the BFD session goes Down. When the BFD session goes Up again, the device restores the configured receive interval.Prerequisites
A device has been enabled to create a dynamic BFD session using the e-trunk bfd enable command in the E-Trunk view.
Precautions
When dynamic BFD session parameters are configured in E-Trunk scenarios:
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] e-trunk 1 [*HUAWEI-e-trunk-1] e-trunk bfd enable [*HUAWEI-e-trunk-1] e-trunk bfd detect-multiplier 8 min-rx-interval 20 min-tx-interval 40
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] e-trunk 1 [*HUAWEI-e-trunk-1] e-trunk bfd enable [*HUAWEI-e-trunk-1] e-trunk bfd min-tx-interval 30
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] e-trunk 1 [*HUAWEI-e-trunk-1] e-trunk bfd enable [*HUAWEI-e-trunk-1] e-trunk bfd detect-multiplier 6
<HUAWEI> system-view [~HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] e-trunk 1 [*HUAWEI-e-trunk-1] e-trunk bfd enable [*HUAWEI-e-trunk-1] e-trunk bfd min-rx-interval 30