hit counter script

Enabling Lldp; Configuring Lldp Characteristics - Cisco Catalyst 3750-E Software Configuration Manual

Hide thumbs Also See for Catalyst 3750-E:
Table of Contents

Advertisement

Configuring LLDP, LLDP-MED, and Wired Location Service

Enabling LLDP

Beginning in privileged EXEC mode, follow these steps to enable LLDP:
Command
Step 1
configure terminal
Step 2
lldp run
Step 3
interface interface-id
Step 4
lldp transmit
Step 5
lldp receive
Step 6
end
Step 7
show lldp
Step 8
copy running-config startup-config
To disable LLDP, use the no lldp run global configuration command. To disable LLDP on an interface,
use the no lldp transmit and the no lldp receive interface configuration commands.
This example shows how to globally enable LLDP.
Switch# configure terminal
Switch(config)# lldp run
Switch(config)# end
This example shows how to enable LLDP on an interface.
Switch# configure terminal
Switch(config)# interface interface_id
Switch(config-if)# lldp transmit
Switch(config-if)# lldp receive
Switch(config-if)# end

Configuring LLDP Characteristics

You can configure the frequency of LLDP updates, the amount of time to hold the information before
discarding it, and the initialization delay time. You can also select the LLDP and LLDP-MED TLVs to
send and receive.
Beginning in privileged EXEC mode, follow these steps to configure the LLDP characteristics.
Steps 2 through 5 are optional and can be performed in any order.
Note
Command
Step 1
configure terminal
Step 2
lldp holdtime seconds
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
28-6
Chapter 28
Purpose
Enter global configuration mode.
Enable LLDP globally on the switch.
Specify the interface on which you are enabling LLDP, and enter
interface configuration mode.
Enable the interface to send LLDP packets.
Enable the interface to receive LLDP packets.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
(Optional) Specify the amount of time a receiving device should hold the
information from your device before discarding it.
The range is 0 to 65535 seconds; the default is 120 seconds.
Configuring LLDP, LLDP-MED, and Wired Location Service
OL-9775-08

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst3560-e

Table of Contents