R21xx-HP FlexFabric 11900 Layer 2 LAN Switching Command Reference

192
lldp admin-status
Use lldp admin-status to specify the LLDP operating mode.
Use undo lldp admin-status to restore the default LLDP operating mode.
Syntax
lldp admin-status { disable | rx | tx | txrx }
undo lldp admin-status
Default
The LLDP operating mode is TxRx.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
disable: Specifies the Disable mode. A port in this mode cannot send or receive LLDPDUs.
rx: Specifies the Rx mode. A port in this mode can only receive LLDPDUs.
tx: Specifies the Tx mode. A port in this mode can only send LLDPDUs.
txrx: Specifies the TxRx mode. A port in this mode can send and receive LLDPDUs.
Examples
# Configure the LLDP operating mode as Rx for Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] lldp admin-status rx
lldp agent nearest-nontpmr admin-status
Use lldp agent nearest-nontpmr admin-status to specify the operating mode for the LLDP nearest
non-TPMR bridge.
Use undo lldp agent nearest-nontpmr admin-status to restore the default.
Syntax
lldp agent nearest-nontpmr admin-status txrx
undo lldp agent nearest-nontpmr admin-status
Default
The operating mode for an LLDP nearest non-TPMR bridge is disable.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin