Debug commands

The following output is an example debug LDP configuration that is described in this section.

A:ALA-12# debug router ldp peer 10.10.10.104
A:ALA-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
A:ALA-12>debug>router>ldp#

ldp

Syntax

[no] ldp

Context

debug>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures LDP debugging.

interface

Syntax

[no] interface interface-name

Context

debug>router>ldp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command debugs an LDP interface.

Parameters

interface-name

Specifies the name of an existing interface.

peer

Syntax

[no] peer ip-address

Context

debug>router>ldp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command debugs an LDP peer.

Parameters

ip-address

Specifies the IP address of the LDP peer.

event

Syntax

[no] event

Context

debug>router>ldp>peer

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command configures debugging for specific LDP events.

bindings

Syntax

[no] bindings

Context

debug>router>ldp>peer>event

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

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

The no form of this command disables the debugging output.

messages

Syntax

[no] messages

Context

debug>router>ldp>peer>event

Platforms

Supported on all 7210 SAS platforms as described in this document

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 this command disables debugging output for LDP messages.

packet

Syntax

packet [detail]

no packet

Context

debug>router>ldp>peer

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for specific LDP packets.

The no form of this command disables the debugging output.

Parameters

detail

Displays detailed information.

hello

Syntax

hello [detail]

no hello

Context

debug>router>ldp>peer>packet

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for LDP hello packets.

The no form of this command disables the debugging output.

Parameters

detail

Displays detailed information.

init

Syntax

init [detail]

no init

Context

debug>router>ldp>peer>packet

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for LDP Init packets.

The no form of this command disables the debugging output.

Parameters

detail

Displays detailed information.

keepalive

Syntax

[no] keepalive

Context

debug>router>ldp>peer>packet

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for LDP Keepalive packets.

The no form of this command disables the debugging output.

label

Syntax

label [detail]

no label

Context

debug>router>ldp>peer>packet

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables debugging for LDP Label packets.

The no form of this command disables the debugging output.

Parameters

detail

Displays detailed information.