< Home

label-withdraw-delay timer

Function

The label-withdraw-delay timer command sets the delay time before a node sends a Label Withdraw message.

The undo label-withdraw-delay timer command restores the default delay time.

The default delay time is 5 seconds.

Format

label-withdraw-delay timer time

undo label-withdraw-delay timer

Parameters

Parameter Description Value
time

Specifies the delay time before a Label Withdraw message can be sent.

The value is an integer ranging from 1 to 65535, in seconds.

Views

MPLS-LDP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The label withdraw delay function prevents downstream LSP flapping from spreading to upstream nodes. For example, 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. To suppress the spread of LSP flapping, run the label-withdraw-delay command to enable the label withdraw delay function on each node and the label-withdraw-delay timer command to set the delay time before a node sends a Label Withdraw message to its upstream node.

Prerequisites

The label withdraw delay function has been enabled using the label-withdraw-delay command.

Example

# Enable the label withdraw delay function on the node and set the delay time to 10s.

<HUAWEI> system-view
[HUAWEI] mpls ldp
[HUAWEI-mpls-ldp] label-withdraw-delay
[HUAWEI-mpls-ldp] label-withdraw-delay timer 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >