Configuring LLDP

Configuring Global LLDP Commands

DCBXP is enabled by default, provided LLDP or disabled using the [no] lldp tlv-select dcbxp or receive is disabled.

To configure LLDP settings, perform this task:

is enabled. When LLDP is enabled, DCBXP can be enabled command. DCBXP is disabled on ports where LLDP transmit

Before You Begin

Ensure that the LLDP feature is enabled on the switch.

Procedure

Command or Action

Step 1 switch# configure terminal

Step 2 switch(config)# lldp {holdtime seconds reinit seconds timer seconds tlv-select{dcbxp management-address port-description port-vlan system-capabilities system-description system-name}}

Purpose

Enters configuration mode.

Configures LLDP options.

Use the holdtime option to set the length of time (10 to 255 seconds) that a device should save LLDP information received before discarding it. The default value is 120 seconds.

Use the reinit option to set the length of time (1 to 10 seconds) to wait before performing LLDP initialization on any interface. The default value is 2 seconds.

Use the timer option to set the rate (5 to 254 seconds) at which LLDP packets are sent. The default value is 30 seconds.

Use the tlv-selectoption to specify the type length value (TLV). The default is enabled to send and receive all TLVs.

Use the dcbxp option to specify the Data Center Ethernet Parameter Exchange (DCBXP) TLV messages.

Use the managment-addressoption to specify the management address TLV messages.

Use the port-descriptionoption to specify the port description

TLV messages.

Use the port-vlanoption to specify the port VLAN ID TLV messages.

Use the system-capabilitiesoption to specify the system capabilities TLV messages.

Use the system-descriptionoption to specify the system description TLV messages.

Use the system-nameoption to specify the system name TLV messages.

Step 3

switch(config)# no lldp

Reset the LLDP values to their defaults.

 

{holdtime reinit timer}

 

Step 4

(Optional)switch#show lldp

Displays LLDP configurations.

 

Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)

128

OL-26590-01

Page 142
Image 142
Cisco Systems N3KC3048TP1GE, N3KC3064TFAL3 Ensure that the Lldp feature is enabled on the switch, Holdtime reinit timer