backoff timer

Function

The backoff timer command sets the initial and maximum values for an Exponential backoff timer.

The undo backoff timer command restores the default initial and maximum values.

By default, the initial value is 15s, and the maximum value is 120s.

Format

backoff timer init max

undo backoff timer

Parameters

Parameter Description Value
init

Specifies the initial value of an Exponential backoff timer.

An integer ranging from 5 to 2147483, in seconds.

max

Specifies the maximum value of an Exponential backoff timer.

An integer ranging from 5 to 2147483, in seconds.

Views

MPLS-LDP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-ldp write

Usage Guidelines

Usage Scenario

After an LSR fails to process an LDP Initialization message or is informed that the peer LSR rejects the received LDP Initialization message, the LSR starts the Exponential backoff timer and periodically resends an LDP Initialization message to initiate an LDP session before the Exponential backoff timer expires.

When the Exponential backoff timer starts, the active LSR waits a period of time equal to the initial value of the Exponential backoff timer to attempt to set up an LDP session for the first time. Subsequently, the active LSR waits a period of time twice as long as the previous one to attempt to set up an LDP session. When the waiting period reaches the maximum value of the Exponential backoff timer, the active LSR waits a period of time equal to the maximum value of the Exponential backoff timer to attempt to establish an LDP session.

Run the backoff timer command to change the interval at which the active LSR attempts to establish a session.

Setting the initial value and maximum value for the Exponential backoff timer allows you to flexibly control the reestablishment of sessions in various network environments.

  • When a device is being upgraded, increase the initial and maximum values to set a large interval at which the active role attempts to establish a session.
  • When a device that is transmitting services is prone to intermittent disconnections, reduce the initial and maximum values to set a small interval at which the active LSR attempts to set up a session.

Configuration Impact

If a session is disconnected after the backoff timer command is run, the device attempts to establish a session based on the set initial and maximum values of the Exponential backoff timer.

Example

# Set the initial value and the maximum value of the Exponential backoff timer to 20s and 160s, respectively.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls ldp
[*HUAWEI-mpls-ldp] backoff timer 20 160
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >