1-5
To do… Use the command… Remarks
Enable LLDP globally
lldp enable
Required
By default, LLDP is disabled
globally.
Enter Ethernet interface view
interface interface-type
interface-number
Required
Enable LLDP
lldp enable
Optional, the configuration
applies to the current port only.
By default, LLDP is enabled on
a port.
To make LLDP take effect, you need to enable it both globally and on the related ports.
Setting LLDP Operating Mode
Follow these steps to set LLDP operating mode:
To do… Use the command… Remarks
Enter system view
system-view
—
Set the initialization delay
period
lldp timer reinit-delay value
Optional
2 seconds by default.
Enter Ethernet interface view
interface interface-type
interface-number
Required
Set the LLDP operating mode
lldp admin-status { disable |
rx | tx | txrx }
Optional, the configuration
applies to the current port only.
TxRx by default.
Configuring LLDPDU TLVs
Follow these steps to configure LLDPDU TLVs:
To do… Use the command… Remarks
Enter system view
system-view
—
Set the TTL multiplier
lldp hold-multiplier value
Optional
4 by default.
Enter Ethernet interface
view
interface interface-type
interface-number
Required