1-7Performing Basic LLDP ConfigurationEnabling LLDPTo make LLDP take effect on certain ports, you need to enable LLDP both globally and on these ports.Follow these steps to enable LLDP:To do… Use the command… RemarksEnter system view system-view —Enable LLDP globally lldp enableRequiredBy default, LLDP is disabledglobally.Enter Ethernet interface view interface interface-typeinterface-number RequiredEnable LLDP lldp enableOptionalBy default, LLDP is enabled ona port.Setting LLDP Operating ModeLLDP can operate in one of the following modes.z TxRx mode. A port in this mode sends and receives LLDP frames.z Tx mode. A port in this mode only sends LLDP frames.z Rx mode. A port in this mode only receives LLDP frames.z Disable mode. A port in this mode does not send or receive LLDP frames.Follow these steps to set LLDP operating mode:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet interface view interface interface-typeinterface-number RequiredSet the LLDP operating mode lldp admin-status { disable |rx | tx | txrx }OptionalTxRx by default.Setting the LLDP Re-Initialization DelayWhen LLDP operating mode changes on a port, the port initializes the protocol state machines after acertain delay. By adjusting the LLDP re-initialization delay, you can avoid frequent initializations causedby frequent LLDP operating mode changes on a port.Follow these steps to set the LLDP re-initialization delay for ports:To do… Use the command… RemarksEnter system view system-view —Set the LLDP re-initializationdelay lldp timer reinit-delay delay Optional2 seconds by default