debugging link-detect

Function

The debugging link-detect command enables debugging for the LAD module.

The undo debugging link-detect command disables debugging of the LAD module.

By default, debugging of the LAD module is disabled.

Format

debugging link-detect [ packet | error | event ] [ interface { interface-name | { interface-type interface-num } } ]

undo debugging link-detect [ packet | error | event ] [ interface { interface-name | { interface-type interface-num } } ]

Parameters

Parameter Description Value
packet

Indicates packet debugging of the LAD module.

-

error

Indicates error debugging of the LAD module.

-

event

Indicates event debugging of the LAD module.

-

interface

Indicates debugging of the LAD module on a specified interface.

-

interface-name

Interface name.

-

interface-type

Interface type.

-

interface-num

Interface number.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
lad debug

Usage Guidelines

Usage Scenario

To facilitate fault locating and device maintenance, run the debugging link-detect command to enable debugging for the LAD module so that LAD debugging information is output.

Example

# Enable event debugging of the LAD module on GE 0/1/16
<HUAWEI> debugging link-detect event interface gigabitethernet 0/1/16
Jul 15 2013 15:41:49.126 Router A %%01LAD/7/LAD_DEBUG_EVENT(d):CID=0x80b3041f; interface GigabitEthernet0/1/16
The port receive packet.
                                                                                
Jul 15 2013 15:41:49.126 Router A %%01LAD/7/LAD_DEBUG_EVENT(d):CID=0x80b3041f; interface GigabitEthernet0/1/16, 
Receive reply packet.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.