Cisco Systems 3750E Webcam User Manual


  Open as PDF
of 1236
 
28-5
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-02
Chapter 28 Configuring LLDP and LLDP-MED
Configuring LLDP and LLDP-MED
This example shows how to disable LLDP.
Switch# configure terminal
Switch(config)# no lldp run
Switch(config)# end
This example shows how to enable LLDP.
Switch# configure terminal
Switch(config)# lldp run
Switch(config)# end
Disabling and Enabling LLDP on an Interface
LLDP is enabled by default on all supported interfaces to send and to receive LLDP information.
Note If the interface is configured as a tunnel port, LLDP is automatically disabled.
Beginning in privileged EXEC mode, follow these steps to disable LLDP on an interface.
Beginning in privileged EXEC mode, follow these steps to enable LLDP on an interface when it has been
disabled:
This example shows how to enable LLDP on an interface.
Switch# configure terminal
Switch(config)# interface GigabitEthernet1/0/1
Switch(config-if)# lldp transmit
Switch(config-if)# lldp receive
Switch(config-if)# end
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-MED, 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.
Step 5
end Return to privileged EXEC mode.
Step 6
copy running-config startup-config (Optional) Save your entries in the configuration file.