(Optional) Configuring Timers for a PCE Client

The Keepalive timer, Hold timer, and LSP Delegate-hold timer can be set for a PCE client.

Usage Scenario

PCEP defines the Keepalive and Hold timers to maintain PCEP sessions. Both ends of a PCEP session start these two timers. Each time the Keepalive timer expires, a local end resends a Keepalive message. If no Keepalive message arrives after the Hold timer expires, a local end considers the PCEP session disconnected.

Hold timer value = 4 x Keepalive timer value

After the Keepalive timer is set, the Hold timer value is automatically updated. However, there are restrictions:
  • The Hold timer value must be greater than or equal to the Keepalive timer value.
  • Although setting a Keepalive timer value changes a Hold timer value, setting a Hold timer value cannot change a Keepalive timer value.
  • If the Keepalive time is set larger than 63s, the Hold timer remains 255s.

Keepalive and Hold timers on both ends of a PCEP session are independent and can be assigned different values. The two ends do not negotiate on a consistent value.

If a PCEP connection goes Down, a PCE client starts an LSP Delegate-hold timer. Before the LSP Delegate-hold timer expires, the PCE client attempts to restore the PCEP connection to the existing PCE server. After the LSP Delegate-hold timer expires, the PCE client attempts to select another available PCE server to establish a PCEP session. The PCE client also starts an LSP state timeout timer. Before this timeout timer expires, the delegated LSP status remains. After the timeout timer expires, the PCE client is allowed to change the delegated LSP status in the following situations:
  • If the mpls te pce cleanup lsp-state command is run on the PCE client, the client deletes the delegate LSP status and automatically uses a local path calculation function to reestablish an LSP.
  • If the mpls te pce cleanup lsp-state command is not run on the PCE client, the client keeps attempting to establish a session with a PCE server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run pce-client

    The PCE client view.

  3. Run timer { hold hold-time | keepalive keepalive-value | delegate-hold delegate-value | state-timeout state-timeout-value }

    Timers are set for the PCE client.

    Default timer values are recommended.

    Parameter

    Description

    Value

    hold hold-time

    Specifies the Hold timer value.

    The value is an integer ranging from 0 to 255, in seconds.

    keepalive keepalive-time

    Specifies the Keepalive timer value.

    The value is an integer ranging from 0 to 255, in seconds.

    delegate-hold delegate-value

    Specifies the Delegate-hold timer value.

    The value is an integer ranging from 30 to 255, in seconds.

    state-timeout state-timeout-value

    Specifies the value of the LSP state timeout timer.

    The value is an integer ranging from 0 to 1800, in seconds.

  4. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >