< Home

maintain-session received-error-message

Function

The maintain-session received-error-message command disables LDP from tearing down a session after error packets are received.

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

By default, LDP tears down a session after error packets are received.

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

RFC 5036 stipulates that LDP should tear down a session after error TCP packets are received. This processing mode causes the LDP session to frequently flap and L2VPN services carried on the LDP session to be frequently interrupted. To disable LDP from tearing down a session after error packets are received, run the maintain-session received-error-message command. LDP then ignores error packets and keeps the session connected. This is beneficial to service maintenance and can also be used for LDP fault recovery.

Example

# Disable LDP from tearing down a session after error packets are received.

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