< Home

(Optional) Enabling LDP to Maintain a Session After Receiving Error TCP Packets

Context

When a device from another vendor fails or a link fails, the LDP session alternates between Up and Down. To prevent LDP session flapping and maintain upper-layer L2VPN services, you can enable LDP to maintain a session after receiving error TCP packets.

According to RFC5036, LDP tears down a session after receiving error TCP packets. When a device from another vendor fails or a link fails, the LDP session alternates between Up and Down after processing in this way. If the LDP transmits L2VPN services, the L2VPN services will be interrupted. To prevent this problem, enable LDP to maintain a session after receiving error TCP packets. This prevents LDP session flapping and helps maintain upper-layer L2VPN services.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls ldp

    The MPLS LDP view is displayed.

  3. Run maintain-session received-error-message

    LDP is enabled to maintain a session after receiving error TCP packets.

    By default, LDP tears down a session after receiving error TCP packets.

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