The mpls bgp bfd command sets time parameters for BGP BFD sessions.
The undo mpls bgp bfd command restores default time parameters for BGP BFD sessions.
By default, no time parameters are set for BGP BFD sessions.
mpls bgp bfd { detect-multiplier value-detect-multiplier | min-rx-interval value-min-rx-interval | min-tx-interval value-min-tx-interval } *
undo mpls bgp bfd { detect-multiplier value-detect-multiplier | min-rx-interval value-min-rx-interval | min-tx-interval value-min-tx-interval } *
undo mpls bgp bfd { detect-multiplier | min-rx-interval | min-tx-interval } *
Parameter | Description | Value |
---|---|---|
detect-multiplier value-detect-multiplier |
Specifies the local BGP BFD detection multiplier. |
The value is an integer ranging from 3 to 50. The default value is 3. |
min-rx-interval value-min-rx-interval |
Specifies the minimum interval at which BGP BFD packets are received. |
The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10. |
min-tx-interval value-min-tx-interval |
Specifies the minimum interval at which BGP BFD packets are sent. |
The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10. |
Usage Scenario
A BGP BFD session working in asynchronous mode monitors BGP LSPs over BGP tunnels. The ingress and egress of E2E BGP LSPs exchange BFD packets periodically. If a node receives no BFD packet after the detection period elapses, the node considers the BGP LSP faulty.
BFD time parameters are calculated as follows:<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [*HUAWEI-vpn-instance-vpna] quit [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] bfd [*HUAWEI-bfd] quit [*HUAWEI] mpls bgp vpn-instance vpna [*HUAWEI-mpls-bgp-vpn-instance-vpna] mpls bgp bfd min-tx-interval 200