The debugging mpls ldp discovery command enables all LDP peer discovery debugging functions and displays debugging information.
The undo debugging mpls ldp discovery command disables the LDP peer discovery debugging functions.
By default, the debugging function is disabled.
debugging mpls ldp discovery { interface [ interface-type interface-num | interface-name ] | peer [ peer-id ] }
debugging mpls ldp discovery { error | events | job }
debugging mpls ldp discovery { socket [ peer-id ] [ send | receive ] | partner } [ packet ]
debugging mpls ldp discovery partner session-manager control-information [ packet ]
undo debugging mpls ldp discovery { interface [ interface-type interface-num | interface-name ] | peer [ peer-id ] }
undo debugging mpls ldp discovery { all | error | events | job }
undo debugging mpls ldp discovery { socket [ peer-id ] [ send | receive ] | partner } [ packet ]
undo debugging mpls ldp discovery partner session-manager control-information [ packet ]
Parameter | Description | Value |
---|---|---|
interface interface-type interface-num |
Displays debugging information about a specified interface. |
- |
interface-name |
Specifies the interface name. |
- |
peer |
Enables or disables the LDP peer debugging. |
- |
peer-id |
Displays debugging information about an LDP peer with a specified LSR ID. |
The value is in dotted decimal notation. |
error |
Displays error debugging information. |
- |
events |
Displays event debugging information. |
- |
job |
Displays job debugging information. |
- |
socket |
Displays socket debugging information. |
- |
send |
Enables or disables the socket function for sent packets. |
- |
receive |
Enables or disables the socket function for received packets. |
- |
partner |
Displays partner debugging information. |
- |
packet |
Enables or disables the packet debugging. |
- |
session-manager |
Enables the debugging function for communication between the LDP peer management module and LDP session management module. |
- |
control-information |
Enables the debugging function for control information exchanged between the LDP session management module and other module. |
- |
all |
Disables all debugging functions. |
- |
<HUAWEI> debugging mpls ldp discovery partner packet
<HUAWEI> debugging mpls ldp discovery socket packet
<HUAWEI> debugging mpls ldp discovery interface GigabitEthernet 0/1/0
<HUAWEI> debugging mpls ldp discovery events