I am following the guide that is listed here for enabling LLDP on my Cisco Catalyst 3560G switch.
In short I entered the following into my switch.
Switch# configure terminal
Switch(config)# lldp run
Switch(config)# interface GigabitEthernet 0/5
Switch(config-if)# lldp transmit
Switch(config-if)# lldp receive
Switch(config-if)# end
What I am confused about however is that LLDP is enabled on all ports not just 0/5. This is actually what I wanted but I am curious if specifying 0/5 which I am forced to do or it doesn't recognize the command has any implications?
P.S.
If anyone has a better title for this let me know. I am very new to switches and layer 2 networking protocols.
Best Answer
Summarizing the conversation of this post the command
Was not doing anything since LLDP was enabled globally already. This would however allow you to disable LLDP on an interface and have it enabled on every other port. I don't see a huge use for enabling it on just one port other than being explicit but maybe someone else can fill in this knowledge gap.