Chapter 18
Configuring LLDP and LLDP-MED
Disabling and Enabling LLDP Globally
LLDP is disabled by default.
Beginning in privileged EXEC mode, follow these steps to globally disable LLDP:
Command
Step 1
configure terminal
Step 2
no lldp run
Step 3
end
Beginning in privileged EXEC mode, follow these steps to globally enable LLDP-MED when it has been
disabled:
Command
Step 1
configure terminal
Step 2
lldp run
Step 3
end
This example shows how to globally disable LLDP.
Switch# configure terminal
Switch(config)# no lldp run
Switch(config)# end
This example shows how to globally enable LLDP.
Switch# configure terminal
Switch(config)# lldp run
Switch(config)# end
Disabling and Enabling LLDP on an Interface
LLDP is disabled by default on all supported interfaces to send and to receive LLDP information.
Beginning in privileged EXEC mode, follow these steps to disable LLDP on an interface.
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
no lldp transmit
Step 4
no lldp receive
Step 5
end
Step 6
copy running-config startup-config
OL-19808-01
Purpose
Enter global configuration mode.
Disable LLDP.
Return to privileged EXEC mode.
Purpose
Enter global configuration mode.
Enable LLDP.
Return to privileged EXEC mode.
Purpose
Enter global configuration mode.
Specify the interface on which you are disabling LLDP, and enter
interface configuration mode.
No LLDP packets are sent on the interface.
No LLDP packets are received on the interface.
Return to privileged EXEC mode.
(Optional) Save your entries in the configuration file.
Catalyst 2360 Switch Software Configuration Guide
Configuring LLDP and LLDP-MED
18-5
Need help?
Do you have a question about the Catalyst 2360 and is the answer not in the manual?
Questions and answers