Configuring the Dynamic LDP Advertisement Capability

On LSRs enabled with global LDP, the dynamic LDP advertisement capability allows extended LDP functions to be dynamically enabled or disabled when the LDP session is working properly, ensuring stable LSP operation.

Context

On an LSR disabled from the dynamic LDP negotiation capability, if an extended LDP function is enabled after an LDP session has been created, the LDP session will be interrupted and the extended LDP function will be negotiated, affecting LSP stability. The dynamic LDP advertisement capability allows an extended LDP function to be enabled or disabled dynamically during proper operation of an LDP session, ensuring LSP stability.

Enabling this function immediately after LDP is enabled globally is recommended. The dynamic LDP advertisement capability does not affect existing LDP functions.

Before the dynamic LDP advertisement capability is enabled, MPLS and LDP must be enabled globally.

Pre-configuration Tasks

Before configuring a local LDP session, enable MPLS LDP globally.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls ldp

    The MPLS-LDP view is displayed.

  3. Run capability-announcement

    The dynamic LDP advertisement capability is enabled.

    By default, the dynamic LDP advertisement capability is not enabled.

    Enabling dynamic LDP advertisement after an LDP session is established will result in reestablishment of the LDP session.

  4. Run commit

    The configurations are committed.

Verifying the Local LDP Session Configuration

After configuring a local LDP session, run the display mpls ldp command. The command output shows that the Capability-Announcement field is On, which indicates that the dynamic LDP advertisement capability has been enabled.

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