Chapter 28 Configuring Link Layer Discovery Protocol

How to Configure LLDP

DETAILED STEPS

 

 

Command or Action

 

Purpose

 

Step 1

 

 

 

 

enable

 

Enables privileged EXEC mode.

 

 

 

 

Enter your password if prompted.

 

 

Example:

 

 

 

 

 

 

 

Router> enable

 

 

 

 

 

 

Step 2

 

 

 

 

configure terminal

 

Enters global configuration mode.

 

 

Example:

 

 

 

 

 

 

 

Router# configure terminal

 

 

 

 

 

 

Step 3

 

 

 

 

lldp run

 

Enables LLDP globally on all the interfaces on the router.

 

 

Example:

 

 

 

 

 

 

 

Router(config)# lldp run

 

 

 

 

 

 

 

or

 

 

 

 

 

 

 

 

 

 

 

 

lldp holdtime seconds

 

Specifies the hold time. The value ranges from 0 to 65535

 

 

 

 

seconds. The default value is 120 seconds.

 

 

Example:

 

 

 

 

 

 

 

Router(config)# lldp holdtime 100

 

 

 

 

 

 

 

or

 

 

 

 

 

 

 

lldp reinit

 

Specifies the delay time in seconds for LLDP to initialize on

 

 

 

 

any interface.

 

 

Example:

 

The value ranges from 2 to 5 seconds. The default value is

 

 

Router(config)# lldp reinit 2

 

2 seconds.

 

 

 

 

 

 

 

or

 

Specifies the rate at which LLDP packets are sent. The

 

 

lldp timer rate

 

value ranges from 5 to 65534 seconds. The default value is

 

 

 

 

30 seconds.

 

 

Example:

 

 

 

 

 

 

 

Router(config)# lldp timer 75

 

 

 

 

 

 

 

 

 

 

 

 

or

 

Enables a specific LLDP TLV on a supported interface.

 

 

lldp tlv-select

 

Cisco ASR 901 LLDP supports the following TLVs:

 

 

 

 

• Port Description—Information about the interface that

 

 

Example:

 

includes the name of the manufacturer, product name,

 

 

Router(config-if)# lldp tlv-select

 

and the version of the interface.

 

 

system-description

 

• System Description—Textual description of the device.

 

 

 

 

 

 

 

 

• System Name—Assigned name of the device.

 

 

 

 

• System Capabilities—Capability of the device and its

 

 

 

 

primary function.

 

 

 

 

• Management Address—IP or MAC address of the

 

 

 

 

device.

 

Step 4

 

 

 

 

end

 

Returns the CLI to privileged EXEC mode.

 

 

Example:

 

 

 

 

 

 

 

Router(config-if)# end

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-23826-09

 

 

 

28-3

 

 

 

 

 

 

Page 565
Image 565
Cisco Systems A9014CFD manual 28-3