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#
[no] ldp
debug>router
Supported on all 7210 SAS platforms as described in this document
This command configures LDP debugging.
[no] interface interface-name
debug>router>ldp
Supported on all 7210 SAS platforms as described in this document
This command debugs an LDP interface.
Specifies the name of an existing interface.
[no] peer ip-address
debug>router>ldp
Supported on all 7210 SAS platforms as described in this document
This command debugs an LDP peer.
Specifies the IP address of the LDP peer.
[no] event
debug>router>ldp>peer
Supported on all 7210 SAS platforms as described in this document
This command configures debugging for specific LDP events.
[no] bindings
debug>router>ldp>peer>event
Supported on all 7210 SAS platforms as described in this document
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.
[no] messages
debug>router>ldp>peer>event
Supported on all 7210 SAS platforms as described in this document
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 [detail]
no packet
debug>router>ldp>peer
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for specific LDP packets.
The no form of this command disables the debugging output.
Displays detailed information.
hello [detail]
no hello
debug>router>ldp>peer>packet
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for LDP hello packets.
The no form of this command disables the debugging output.
Displays detailed information.
init [detail]
no init
debug>router>ldp>peer>packet
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for LDP Init packets.
The no form of this command disables the debugging output.
Displays detailed information.
[no] keepalive
debug>router>ldp>peer>packet
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for LDP Keepalive packets.
The no form of this command disables the debugging output.
label [detail]
no label
debug>router>ldp>peer>packet
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for LDP Label packets.
The no form of this command disables the debugging output.
Displays detailed information.