debugging lldp

Function

The debugging lldp command enables the debugging function of the LLDP module.

The undo debugging lldp command enables the debugging function of the LLDP module.

By default, the debugging function of the LLDP module is disabled.

Format

debugging lldp [ event | all | packet ] [ interface { interface-type interface-number | interface-name } ]

undo debugging lldp [ event | all | packet ] [ interface { interface-type interface-number | interface-name } ]

Parameters

Parameter Description Value
event

Enables debugging function of event.

-

all

Enables all the debugging function.

-

packet

Enables debugging function of packet.

-

interface

Enables debugging function of a specified interface.

-

interface-type

Interface type.

-

interface-number

Interface number.

-

interface-name

Interface name.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
lldp debug

Usage Guidelines

Usage Scenario

The debugging lldp command displays the debugging information about the LLDP module. Different debugging information can be obtained by selecting different key words, which facilitates fault location and equipment maintenance.

Example

# Enable the event debugging of the LLDP module on an interface.
<HUAWEI> debugging lldp event interface GigabitEthernet 0/1/16
Feb  5 2012 21:14:50.127 HUAWEI %%01LLDP/7/LLDP_DEBUG_EVENT(d):CID=0x80a5040b; interface 4
Received a LLDP frame, length=354.                                                  
Jul 15 2013 15:41:49.126 Router A %%01LAD/7/LAD_DEBUG_EVENT(d):CID=0x80b3041f; interface GigabitEthernet0/1/16, 
Received reply packet.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.