debugging mpls ldp session (module)

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 { error | events | job }

undo debugging mpls ldp session { all | error | events | job }

Parameters

Parameter Description Value
error

Enables or disables the error debugging.

-

events

Enables or disables the event debugging.

-

job

Enables or disables the job debugging.

-

all

Disables all of LDP session debugging.

-

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 event debugging of the LDP session module.
<HUAWEI> debugging mpls ldp session events
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >