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).
(Optional) Setting the Delay Timer Value
(Optional) Setting the Delay Timer Value
Context
When an LDP session or LDP adjacency is reestablished on a faulty link, LDP starts the Delay timer to wait for the establishment of an LSP. After the Delay timer times out, LDP notifies the IGP that synchronization between LDP and IGP is complete.
You can set the Delay timer value in either of the following methods:
Setting the Delay timer value in the interface view
You can set the Delay timer value on a specified interface. This mode applies to the scenario where a few interfaces need to use the Delay timer.
Setting the Delay timer value in the MPLS LDP view
After you set the Delay timer value in the MPLS LDP view, the Delay timers on all interfaces in the MPLS LDP view are set to this value. This mode applies to the scenario where many interfaces on a node need to use the Delay timer.
Procedure
Perform the following steps in the MPLS-LDP view.
Run system-view
The system view is displayed.
Run mpls ldp
The MPLS-LDP view is displayed.
Run igp-sync-delay timervalue
The period of waiting for the LSP setup after the establishment of the LDP session or LDP adjacency is set.
By default, the value of the delay timer is 10s.
Run commit
The configuration is committed.
Perform the following steps in the interface view.
Run system-view
The system view is displayed.
Run interfaceinterface-typeinterface-number
The interface view is displayed.
On an Ethernet interface, run undo portswitch
The interface is switched to Layer 3 mode.
By default, an Ethernet interface works in Layer 2 mode.
The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.
If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batchinterface-type { interface-number1 [ tointerface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.
Run mpls ldp timer igp-sync-delayvalue
The period of waiting for the LSP setup after the establishment of the LDP session or LDP adjacency is set.