< Home

Configuring a Local LDP Session

LDP sessions allow LSRs to establish LSPs and swap labels.

Context

A local LDP session is created over a TCP connection. After a TCP connection is established, LSRs negotiate LDP session parameters with each other. If LSRs on both ends of an LDP session agree on negotiated parameters, a local LDP session can be established.

Procedure

  1. Access the system view.

    system-view

  2. Specify the interface to participate in MPLS forwarding.

    interface interface-type interface-number

  3. Enable MPLS on the interface.

    mpls

  4. Enable LDP on the interface.

    mpls ldp

    By default, no interface is enabled with LDP.

    Disabling LDP on an interface causes the interface to terminate all LDP sessions on it and delete all LSPs established using the LDP sessions.

    MPLS LDP applies only to Ethernet interfaces, Ethernet subinterfaces, Eth-Trunk interfaces, Eth-Trunk subinterfaces, and VLANIF interfaces.

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