(Optional) Configuring Delayed Transmission of Label Withdraw Messages
Context
An LSP on a local node flaps because an LDP session between the node and its downstream peer flaps, a route flaps, or an LDP policy is modified. The local node repeatedly sends Label Withdraw and Label Mapping messages in sequence to upstream nodes. This causes the upstream nodes to repeatedly tear down and reestablish LSPs. As a result, the entire LDP LSP flaps. The label withdraw delay function prevents the entire LDP LSP from flapping.
Perform the following steps on each node of an LDP LSP:
Procedure
- Run system-view
The system view is displayed.
- Run mpls ldp
The MPLS-LDP view is displayed.
- Run label-withdraw-delay
The label withdraw delay function is enabled.
By default, the label withdraw delay function is disabled.
- Run label-withdraw-delay timer time
The delay time for a Label Withdraw message to be sent is set.
The default delay time is 5 seconds.