debug lldp packet
Enables or disables debugging for the Link Layer Discovery Protocol (LLDP).
Syntax
debug lldp packet
{
all
|
[
ethernet
slot/port
]
[
both
]
]
|
[
detail
[
both
|
rx
|
tx
]
}
no debug lldp packet
{
all
|
interface
ethernet
slot/port
}
Command Default
LLDP debugging is disabled.
Parameters
-
all
- Turns on LLDP packet debugging on all interfaces.
-
ethernet
- Represents a valid, physical Ethernet port.
- slot
- Specifies a valid slot number. For devices
that do not support linecards, specify
0.
- port
- Specifies a valid port number.
- both
- Turns on debugging for both transmit and receive packets.
- detail
- Turns on debugging with detailed information.
- both
- Turns on detailed debugging for both transmit and receive packets.
- rx
- Turns on detailed debugging for only received LLDP packets.
- tx
- Turns on detailed debugging for only transmitted LLDP packets.
Modes
Privileged EXEC mode
Usage Guidelines
Enter
terminal monitor to display debugging outputs on a particular cmsh session.
Enter
no debug lldp packet to disable LLDP debugging.
Examples
To enable debugging of LLDP for both received and transmitted packets on the 10-gigabit Ethernet interface 0/1:
device# debug lldp packet interface ethernet 0/1 both
device# show debug lldp
LLDP debugging status:
Interface 0/1 : Transmit Receive