Chapter 28 Configuring LLDP and LLDP-MED

Configuring LLDP and LLDP-MED

 

Command

Purpose

Step 1

 

 

configure terminal

Enter global configuration mode.

Step 2

 

 

lldp holdtime seconds

(Optional) Specify the amount of time a receiving device should hold the

 

 

information sent by your device before discarding it.

 

 

The range is 0 to 65535 seconds; the default is 120 seconds.

Step 3

 

 

lldp reinit

(Optional) Specify the delay time in seconds for LLDP to initialize on any

 

 

interface.

 

 

The range is 2 to 5 seconds; the default is 2 seconds.

Step 4

 

 

lldp timer seconds

(Optional) Set the transmission frequency of LLDP updates in seconds.

 

 

The range is 5 to 65534 seconds; the default is 30 seconds.

Step 5ll

 

 

lldp tlv-select

(Optional) Specify the LLDP TLVs to send or receive.

Step 6

 

 

lldp med-tlv-select

(Optional) Specify the LLDP-MED TLVs to send or receive.

Step 7

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

Use the no form of each of the LLDP commands to return to the default setting.

This example shows how to configure LLDP characteristics.

Switch# configure terminal

Switch(config)# lldp holdtime 120

Switch(config)# lldp reinit 2

Switch(config)# lldp timer 30

Switch(config)# end

For additional LLDP show commands, see the “Monitoring and Maintaining LLDP and LLDP-MED” section on page 28-7.

Disabling and Enabling LLDP Globally

LLDP is enabled by default.

Beginning in privileged EXEC mode, follow these steps to disable LLDP:

 

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.

 

 

 

Beginning in privileged EXEC mode, follow these steps to enable LLDP-MED when 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.

 

 

 

 

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

 

 

 

28-4

 

 

OL-9775-02

 

 

 

 

 

Page 624
Image 624
Cisco Systems 3750E manual Disabling and Enabling Lldp Globally, 28-4