The mpls te bfd command sets the parameters of a BFD session for TE.
The undo mpls te bfd command restores the default configuration.
By default, no parameters of a BFD session for TE is set.
mpls te bfd { min-tx-interval tx-interval | min-rx-interval rx-interval | detect-multiplier multiplier } *
undo mpls te bfd { min-tx-interval | min-rx-interval | detect-multiplier } *
undo mpls te bfd { min-tx-interval tx-interval | min-rx-interval rx-interval | detect-multiplier multiplier } *
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. |
If min-tx-interval tx-interval configured on the local end is different from min-rx-interval rx-interval configured on the peer, the larger value is used as the actual session parameter.
The used detect-multiplier multiplier is the value set on the peer.
If the mpls te bfd command is configured in the MPLS view, it takes effect globally. If the command is configured in the tunnel interface view, it only takes effect on the current tunnel interface, and the parameters of the BFD session for TE set in the MPLS view are overridden.
# Set the parameters of the BFD session.
<HUAWEI> system-view [HUAWEI] interface tunnel 1 [HUAWEI-Tunnel1] tunnel-protocol mpls te [HUAWEI-Tunnel1] destination 2.2.2.2 [HUAWEI-Tunnel1] mpls te tunnel-id 100 [HUAWEI-Tunnel1] mpls te bfd min-tx-interval 200 detect-multiplier 5 [HUAWEI-Tunnel1] mpls te commit