(Optional) Configuring Timers for the GR Helper

You can set the values of an LDP Reconnect timer and an LDP Recovery timer for the GR Helper.

Context

Timers associated with LDP GR are as follows:
  • Reconnect timer: the timer for reconnecting an LDP session. After an AMB/SMB switchover on the GR Restarter is complete, an LDP session between the GR Helper and Restarter fails to be set up. The GR Helper starts a Reconnect timer to wait for reestablishing an LDP session.
    • If an LDP session is not set up between the GR Helper and Restarter after the Reconnect timer expires, the GR Helper immediately deletes MPLS forwarding entries associated with the GR Restarter and exits from the GR process.

    • If the LDP session is reestablished before the Reconnect timer expires, the GR Helper deletes the Reconnect timer and starts a Recovery timer.

  • Recovery timer: the timer for restoring an LSP. After the LDP session is reestablished, the GR Helper starts a Recovery timer to wait for the LSP to be restored.
    • If the Recovery timer expires, the GR Helper considers that the neighbor GR process ends and deletes the LSP that is not restored.

    • If all LSPs are restored before the Recovery timer expires, the GR Helper considers that the neighbor GR process ends after the Recovery timer expires.

  • Neighbor-liveness timer: the duration of the LDP GR process.

Modifying the value of an LDP GR-associated timer leads to a reestablishment of an LDP session.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls ldp

    The MPLS-LDP view is displayed.

  3. Run graceful-restart timer reconnect time

    The Reconnect timer value is set.

    The Reconnect timer value that takes effect is the smaller value between the Neighbor-liveness timer configured on the GR Helper and the Reconnect timer configured on the GR Restarter.

  4. Run graceful-restart timer recovery time

    The Recovery timer value is set.

    The Recovery timer value that takes effect is the smaller value between the Recovery timer configured on the GR Helper and the Recovery timer configured on the GR Restarter.

  5. Run graceful-restart timer neighbor-liveness time

    The Neighbor-liveness timer value is set.

    When the reconnection time of an LDP session is negotiated in an LDP GR process, the value of the Neighbor-liveness timer is the smaller value between the Neighbor-liveness timer configured on the GR Helper and the Reconnect timer configured on the GR Restarter.

  6. Run commit

    The configurations are committed.

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