Debug Commands

The following output shows debug LDP configurations discussed in this section.

ALU-12# debug router ldp peer 10.10.10.104
ALU-12>debug>router>ldp# show debug ldp
debug
    router "Base"
        ldp peer 10.10.10.104
            event
                bindings
                messages
            exit
            packet
                hello
                init
                keepalive
                label
            exit
        exit
    exit
exit
ALU-12>debug>router>ldp#

ldp

Syntax

[no] ldp

Context

debug>router

Description

This command configures LDP debugging.

interface

Syntax

[no] interface interface-name

Context

debug>router>ldp

Description

This command configures debugging for a specific LDP interface.

Parameters

interface-name

specifies an existing interface

peer

Syntax

[no] peer ip-address

Context

debug>router>ldp

Description

This command configures debugging for a specific LDP peer.

Parameters

ip-address

specifies the LDP peer to debug

event

Syntax

[no] event

Context

debug>router>ldp>interface

debug>router>ldp>peer

Description

This command configures debugging for specific LDP events.

bindings

Syntax

[no] bindings

Context

debug>router>ldp>peer>event

Description

This command displays debugging information about addresses and label bindings learned from LDP peers for LDP bindings.

The no form of the command disables the debugging output.

messages

Syntax

[no] messages

Context

debug>router>ldp>if>event

debug>router>ldp>peer>event

Description

This command displays specific information (for example, message type, source, and destination) about LDP messages sent to and received from LDP peers.

The no form of the command disables debugging output for LDP messages.

packet

Syntax

[no] packet

Context

debug>router>ldp>interface

debug>router>ldp>peer

Description

This command enables debugging for specific LDP packets.

The no form of the command disables the debugging output.

hello

Syntax

hello [detail]

no hello

Context

debug>router>ldp>if>packet

debug>router>ldp>peer>packet

Description

This command enables debugging for sent and received LDP Hello packets.

The no form of the command disables the debugging output.

Parameters

detail

displays detailed information

init

Syntax

init [detail]

no init

Context

debug>router>ldp>peer>packet

Description

This command enables debugging for LDP Init packets. The detail option displays detailed information about the type length value (TLV) included in mac-flush packets.

The no form of the command disables the debugging output.

Parameters

detail

displays detailed information

keepalive

Syntax

[no] keepalive

Context

debug>router>ldp>peer>packet

Description

This command enables debugging for LDP keepalive packets.

The no form of the command disables the debugging output.

label

Syntax

label [detail]

no label

Context

debug>router>ldp neighbor>packet

Description

This command enables debugging for LDP label packets.

The no form of the command disables the debugging output.

Parameters

detail

displays detailed information