lldp admin-status
Syntax
lldp admin-status { disable | rx | tx | txrx }
undo lldp admin-status
View
Layer 2 Ethernet interface view, port group view
Default level
2: System level
Parameters
disable: Specifies the Disable mode. A port in this mode cannot send or receive LLDP frames.
rx: Specifies the Rx mode. A port in this mode can only receive LLDP frames.
tx: Specifies the Tx mode. A port in this mode can only send LLDP frames.
txrx: Specifies the TxRx mode. A port in this mode can send and receive LLDP frames.
Description
Use lldp admin-status to specify the LLDP operating mode for a port or all ports in a port group.
Use undo lldp admin-status to restore the default LLDP operating mode.
By default, the LLDP operating mode is TxRx.
Examples
# Configure the LLDP operating mode as Rx for Ethernet 1/0/1.
<Sysname> system-view [Sysname] interface ethernet 1/0/1 [Sysname-Ethernet1/0/1] lldp admin-status rx