debugging mpls ldp session (peer)

Function

The debugging mpls ldp session command enables debugging functions of the MPLS LDP session management module and displays debugging information.

The undo debugging mpls ldp session command disables the MPLS LDP session debugging functions.

By default, the debugging function is disabled.

Format

debugging mpls ldp session peer [ peer-id ]

undo debugging mpls ldp session peer [ peer-id ]

Parameters

Parameter Description Value
peer peer-id

Displays debugging information about an LDP peer with a specified LSR ID.

This value is in dotted decimal notation.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
mpls-ldp debug

Usage Guidelines

Usage Scenario

To view LDP session debugging information, run the debugging mpls ldp session command. The debugging information helps check whether the packet format is correct and whether the packets are transmitted properly if LDP session negotiation fails.

Example

# Enable peer debugging of the LDP session module.
<HUAWEI> debugging mpls ldp session peer
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >