link-detect enable

Function

The link-detect enable command enables LAD on an interface.

The undo link-detect enable command disables LAD on an interface.

By default, LAD is enabled on all interfaces.

Format

link-detect enable

undo link-detect enable

Parameters

None

Views

100GE-Trunk member Layer 2 interface view, 100GE-Trunk member interface view, Layer 2 100GE interface view, 100ge sub-interface view, 100GE interface view, Layer 2 10GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE-L2 view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE-L2 view, 400GE sub-interface view, 400GE interface view, 40GE-Trunk member Layer 2 interface view, 40GE-Trunk member interface view, Layer 2 40GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, Layer 2 50GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE-100G interface view, FlexE-50G interface view, FlexE-50|100G interface view, FlexE sub-interface view, GE Layer 2 sub-interface view, Layer 2 GE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Layer 2 sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
lad write

Usage Guidelines

Usage Scenario

An LAD-enabled interface can encapsulate local information into an LAD packet and send it to a neighbor. After receiving an LAD packet from the neighbor, the local interface can save local information and neighbor information carried in the packet to the local MIB. The local and neighbor information is recorded as one entry.

Before using LAD to discover neighbors, run the link-detect enable to enable LAD on an interface.

Follow-up Procedure

Run the link detect command to enable a device to send LAD packets to neighbors.

Example

# Enable LAD on Eth-Trunk 1.
<HUAWEI> system-view
[~HUAWEI] interface Eth-Trunk 1
[~HUAWEI-Eth-Trunk1] link-detect enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic