Overview
The Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) are device discovery protocols that allow network management applications to automatically discover and learn about other devices connected to the network.
-
CDP is a Cisco proprietary protocol for device discovery on the network.
-
LLDP is a vendor-neutral protocol defined in IEEE 802.1ab, enabling discovery of non-Cisco devices.
-
LLDP uses Type, Length, and Value (TLV) attributes to advertise configuration information, device capabilities, and device identity.
LLDP Advertised TLVs
LLDP advertises the following TLVs by default:
-
DCBXP
-
Management address
-
Port description
-
Port VLAN
-
System capabilities
-
System description
-
System name
Data Center Bridging Exchange Protocol (DCBXP)
The Data Center Bridging Exchange Protocol (DCBXP) is an extension of LLDP. It is used to announce, exchange, and negotiate node parameters between peers. DCBXP parameters are packaged as DCBXP TLVs in the LLDP packet. If CEE is used, DCBXP will use an acknowledgment mechanism over LLDP. When the port comes up, DCBX TLVs are sent and any DCBX TLVs received are processed. By default, the DCBX protocol is set to auto-detect, and the latest protocol version supported by both the peers is used.
Features that need to exchange and negotiate parameters with peer nodes using DCBXP are as follows:
-
Priority-based Flow Control (PFC)—PFC is an enhancement to the existing Pause mechanism in Ethernet. It enables Pause based on user priorities or classes of service. A physical link that is divided into eight virtual links with PFC provides the capability to use Pause on a single virtual link without affecting traffic on the other virtual links. Enabling Pause on a per-user-priority basis allows administrators to create lossless links for traffic requiring no-drop service while retaining packet-drop congestion management for IP traffic.
-
Enhanced Transmission Selection (ETS)—ETS enables optimal bandwidth management of virtual links. ETS is also called priority grouping. It enables differentiated treatments within the same priority classes of PFC. ETS provides prioritized processing based on bandwidth allocation, low latency, or best effort, resulting in per-group traffic class allocation. For example, an Ethernet class of traffic may have a high-priority designation and a best effort within that same class. ETS allows differentiation between traffic of the same priority class, thus creating priority groups.
-
Application Priority Configuration—Carries information about the priorities that are assigned to specific protocols.
-
Priority to DSCP Mapping—The mapping of the DSCP and COS values configured in the QoS policy are sent in the Application Priority TLV.
![]() Note |
For information on the quality of service (QoS) features, see the Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide. |
DCBXP is enabled by default, provided LLDP is enabled. When LLDP is enabled, DCBXP can be enabled or disabled using the [no] lldp tlv-select dcbxp command. DCBXP is disabled on ports where LLDP transmit or receive is disabled.
Beginning with Cisco NX-OS Release 10.2(3)F, an additional command is introduced: [no] lldp tlv-select dcbxp egress-queuing. While the [no] lldp tlv-select dcbxp command sends input queuing parameters in the ETS information that is exchanged with the peer, the [no] lldp tlv-select dcbxp egress-queuing command sends output queuing parameters in the ETS information. Hence, the bandwidths and priority information are extracted from the output queuing policy and exchanged with the peer.
At a time, you can configure either egress queuing or ingress queuing by running either lldp tlv-select dcbxp egress-queuing or lldp tlv-select dcbxp command as they overwrite each other.
The no forms of both the commands stop the DCBXP exchange on all interfaces.
To view which of the above two commands is enabled, run the show lldp tlv-select command.
When the default input queuing policy at system level is detached, the DCBXP exchange on all interfaces will stop sending ETS configuration and recommendation TLVs. However, the default output queuing policy at the system level cannot be detached.
Supported Features
-
High Availability - The LLDP feature supports stateless and stateful restarts. After a reboot or supervisor switchover, the running configuration is applied.
For more information on high availability, see the Cisco Nexus 9000 Series NX-OS High Availability and Redundancy Guide.
-
Virtualization Support - One instance of LLDP is supported.
Default Settings
This table lists the LLDP default settings.
| Parameters | Default |
|---|---|
| Global LLDP | Disabled |
| LLDP on interfaces | Enabled, after LLDP is enabled globally |
| LLDP hold time (before discarding) | 120 seconds |
| LLDP reinitialization delay | 2 seconds |
| LLDP timer (packet update frequency) | 30 seconds |
| LLDP TLVs | Enabled |
| LLDP receive | Enabled, after LLDP is enabled globally |
| LLDP transmit | Enabled, after LLDP is enabled globally |
| DCBXP | Enabled, provided LLDP is enabled |
| DCBXP version | Auto-detect |

Feedback