< Home

lldp state

Function

The lldp state command sets the LLDP working mode of the interface.

Format

lldp state { disable | rx | tx | txrx }

Parameters

Parameter Description Value
disable In this mode, the interface cannot receive or send LLDP packets. -
rx In this mode, the interface can only receive LLDP packets. -
tx In this mode, the interface can only send LLDP packets. -
txrx In this mode, the interface can receive and send LLDP packets. -

Views

Layer-3 Ethernet interface view, Layer-2 Ethernet interface view, Management interface view

Default Level

2: Configuration level

Usage Guidelines

By default, the interface works in txrx mode.

Example

# Set the working mode of GigabitEthernet 0/0/1 to rx.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] lldp state rx
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >