switch > enable
switch # configure terminal
switch (config) # lldp
This commands enabled the lldp on the switch
Than use
switch (config) # show lldp ...
and you get various of lldp options.
See also here, if you are connected to a server
HowTo Enable LLDP on Linux Servers for Link Discovery
HowTo Enable LLDP on Windows Servers - LDWin
I hope that it helps.