No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring LDP FRR
Configuring LDP FRR
By configuring LDP FRR, you can quickly switch traffic
to the backup LSP when a link fails, which ensures uninterrupted traffic
transmission.
Pre-configuration Tasks
There are two types of LDP
FRR: manual LDP FRR and Auto LDP FRR. Configure LDP FRR by perform
either of the following pre-configuration tasks as required.
Before configuring manual LDP FRR, complete the
following tasks:
Configuring single-hop BFD if BFD-based LDP FRR
needs to be configured (see BFD Configuration in Huawei AR Series Access Routers Configuration Guide
- Reliability)
Before configuring Auto LDP FRR, complete the following
tasks:
Manual LDP FRR: A backup LSP is configured manually by specifying
an outbound interface or a next hop. The configuration is complex
and flexible. Manual LDP FRR applies to simple networks.
Auto LDP FRR: A backup LSP is automatically created based on
a specified policy. The configuration is simple and prevents loops.
Auto LDP FRR applies to complex and large networks.
Select a type according to situations on your network.
Perform the following steps on the ingress or transit node:
On the same interface, you can configure up to
10 LDP FRR entries with different precedences. According to different
precedences, only one bypass LSP is generated. The smaller the value
is, the higher the precedence is. By default, the precedence value
is 50.
LDP FRR cannot be enabled or disabled
during the LDP GR.
If manual LDP FRR and IP FRR are deployed
concurrently, IP FRR is used preferentially.
When the undo mpls ldp command is run to disable the LDP function in the system view or
the undo mpls ldp command is run to disable the LDP
function in the interface view, the LDP FRR configuration in the interface
view is not automatically deleted. Only the LDP FRR function is invalid.
In manual LDP FRR configuration, the
backup LSP must be in liberal state. That is, the route state of the
bypass LSP from Ingress to Egress node must be "Inactive Adv".
(Optional) Configuring a Static BFD Session to Report
Faults of the Detected Service Module:
The procedure is only applicable to configure
the LDP FRR based on static BFD.
Run quit
Return to the system view.
Run bfd
The created BFD session view is displayed.
Run process-pst
The BFD session is enabled to report faults of the
associated LDP LSP to the system.
By default, a static BFD session
cannot report faults of the monitored service module to the system.
Run commit
The configuration is committed.
Configuring Auto LDP FRR
Run system-view
The system view is displayed.
Run mpls ldp
The MPLS-LDP view is displayed.
Run auto-frr lsp-trigger { all | host | ip-prefixip-prefix-name | none }
A policy for triggering backup LDP LSP establishment
is configured.
By default, LDP uses backup routes
to addresses with 32-bit masks to set up backup LSPs.
During the LDP GR process, a policy for triggering the backup LDP
LSP establishment cannot be changed.
Auto LDP FRR depends on IGP auto FRR. After the frr (IS-IS) or frr (OSPF) command is used to enable IGP auto FRR, Auto LDP
FRR will be automatically enabled. The auto-frr lsp-trigger command is used to configure or change a policy for triggering
backup LDP LSP establishment.
If both the auto-frr lsp-trigger command and the lsp-trigger command are run, the established
backup LSPs satisfy both the policy for triggering LDP LSP establishment
and the policy for triggering backup LDP LSP establishment.
Verifying the Configuration
Run the display mpls lsp command to check information about LSPs enabled with LDP FRR.
Run the display bfd interface [ interface-typeinterface-number ] command to check information about the BFD interface.