< Home

maintain-session received-error-message

Function

The maintain-session received-error-message command enables LDP to maintain a session after receiving error TCP packets.

The undo maintain-session received-error-message command restores the default configuration.

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

Format

maintain-session received-error-message

undo maintain-session received-error-message

Parameters

None

Views

MPLS-LDP view

Default Level

2: Configuration level

Usage Guidelines

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, run the maintain-session received-error-message command to enable LDP to maintain a session after receiving error TCP packets. This prevents LDP session flapping and helps maintain upper-layer L2VPN services.

Example

# Enable LDP to maintain a session after receiving error TCP packets.

<HUAWEI> system-view
[HUAWEI] mpls ldp
[HUAWEI-mpls-ldp] maintain-session received-error-message
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >