25-5
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
OL-8915-03
Chapter 25 Configuring LLDP and LLDP-MED
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:
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
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
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
no lldp run
Disable LLDP.
Step 3
end
Return to privileged EXEC mode.
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.