21-5
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 21 Configuring LLDP and LLDP-MED
Configuring LLDP and LLDP-MED
Beginning in privileged EXEC mode, follow these steps to enable LLDP-MED when it has been
disabled:
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
By default, when LLDP is enabled, interfaces are enabled to send and to receive LLDP information.
Beginning in privileged EXEC mode, follow these steps to disable sending or receiving LLDP packets
on an interface.
Beginning in privileged EXEC mode, follow these steps to enable sending and receiving LLDP packets
on an interface after it has been disabled:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
lldp run
Enable LLDP.
Step 3
end
Return to privileged EXEC mode.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface-id
Specify the interface on which you are disabling LLDP, and enter
interface configuration mode.
Step 3
no lldp transmit
No LLDP packets are sent on the interface.
Step 4
no lldp receive
No LLDP packets are received on the interface.
Step 5
end
Return to privileged EXEC mode.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface-id
Specify the interface on which you are enabling LLDP, and enter
interface configuration mode.
Step 3
lldp transmit
LLDP packets are sent on the interface.
Step 4
lldp receive
LLDP packets are received on the interface.