Dynamic BFD for SR-MPLS TE LSP rapidly detects faults of SR-MPLS TE LSPs, which protects traffic transmitted on SR-MPLS TE LSPs.
BFD detects the connectivity of SR-MPLS TE LSPs. Dynamic BFD for SR-MPLS TE LSP is configured to rapidly switch traffic from a primary LSP to a backup LSP if the primary LSP fails. Unlike static BFD for SR-MPLS TE LSP, dynamic BFD for SR-MPLS TE LSP simplifies the configuration and minimizes manual configuration errors.
Dynamic BFD can only monitor a part of an SR-MPLS TE tunnel.
Before configuring dynamic BFD for SR-MPLS TE LSP, complete the following task:
Perform either of the following operations to enable the ingress to dynamically create a BFD Session to monitor SR-MPLS TE LSPs:
Globally enable the capability if BFD sessions need to be automatically created for most SR-MPLS TE tunnels on the ingress.
Enable the capability on a specific tunnel interface if a BFD session needs to be automatically created for a specific or some SR-MPLS TE tunnels on the ingress.
Please select the appropriate configuration according to your actual needs.
Run system-view
The system view is displayed.
Run mpls
The MPLS view is displayed.
Run mpls te bfd enable [ one-arm-echo ]
The ingress is configured to automatically create a BFD session for each SR-MPLS TE tunnel.
After this command is run in the MPLS view, BFD for SR-MPLS TE LSP is enabled on all tunnel interfaces, except the tunnel interfaces on which BFD for SR-MPLS TE LSP is blocked.
If one-arm-echo is configured, a one-arm BFD echo session is established to monitor an SR-MPLS TE LSP.
If the egress does not support BFD for SR-MPLS TE, BFD sessions cannot be created. To address this issue, configure one-arm BFD.
Return to the system view.
The SR-MPLS TE tunnel interface view is displayed.
The tunnel interface is disabled from automatically creating a BFD session to monitor an SR-MPLS TE tunnel.
Run commit
The configuration is committed.
The system view is displayed.
The view of the SR-MPLS TE tunnel interface is displayed.
Run mpls te bfd enable [ one-arm-echo ]
The ingress is configured to automatically create a BFD session for the tunnel.
This command run in the tunnel interface view takes effect only on the tunnel interface.
If one-arm-echo is configured, a one-arm BFD echo session is established to monitor an SR-MPLS TE LSP. A Huawei device at the ingress cannot use BFD for SR-MPLS TE LSP to communicate with a non-Huawei device at the egress. In this situation, no BFD session can be established. To address this issue, configure one-arm BFD.
The configuration is committed.
Adjust BFD parameters on the ingress in either of the following modes:
Adjust BFD parameters globally. This method is used when BFD parameters for most SR-MPLS TE tunnels need to be adjusted on the ingress.
Adjust BFD parameters on a specific tunnel interface. If an SR-MPLS TE tunnel interface needs BFD parameters different from the globally configured ones, adjust BFD parameters on the specific tunnel interface.
On the egress that passively creates a BFD session, the BFD parameters cannot be adjusted, because the default values are the smallest values that can be set on the ingress. Therefore, if BFD for TE is used, the effective BFD detection period on both ends of an SR-MPLS TE tunnel is as follows:
Effective detection period on the ingress = Configured interval at which BFD packets are received on the ingress x 3
Effective detection period on the egress = Configured interval at which BFD packets are sent on the ingress x Configured detection multiplier on the ingress
Please select the appropriate configuration according to your actual needs.
The system view is displayed.
The MPLS view is displayed.
The BFD parameters are set.
The configuration is committed.
The system view is displayed.
The tunnel interface view is displayed.
The BFD parameters are set.
The configuration is committed.