236
•
Device ID.
•
ID of the port connecting to the neighboring device.
•
port IP address.
•
PVID.
•
TTL.
The port IP address is the primary IP address of the VLAN interface in up state. The VLAN ID of the
VLAN interface must be the lowest among the VLANs permitted on the port. If no VLAN interfaces of
the permitted VLANs is assigned an IP address or all VLAN interfaces are down, no port IP address
will be advertised.
The CDP neighbor-information-related fields in the output of the
display lldp neighbor-information
command show the CDP neighboring device information that can be recognized by the switch. For
more information about the
display lldp neighbor-information
command, see
Layer 2—LAN
Switching Command Reference
.
If your LLDP-enabled device cannot recognize CDP packets, it does not respond to the requests of
Cisco IP phones for the voice VLAN ID configured on the device. As a result, a requesting Cisco IP
phone sends voice traffic without any VLAN tag to your device. Your device cannot differentiate the
voice traffic from other types of traffic.
CDP compatibility enables your device to receive and recognize CDP packets from a Cisco IP phone
and respond with CDP packets carrying TLVs with the voice VLAN configuration. According to TLVs
with the voice VLAN configuration, the IP phone automatically configures the voice VLAN. As a result,
the voice traffic is confined in the configured voice VLAN and is differentiated from other types of
traffic.
For more information about voice VLANs, see "
When the device is connected to a Cisco IP phone that has a host attached to its data port, the host
must access the network through the Cisco IP phone. If the data port goes down, the IP phone will
send a CDP packet to the device so the device can log out the user.
Configuration prerequisites
Before you configure CDP compatibility, complete the following tasks:
•
Globally enable LLDP.
•
Enable LLDP on the port connecting to a device supporting CDP.
•
Configure LLDP to operate in TxRx mode on the port.
Configuration procedure
CDP-compatible LLDP operates in one of the following modes:
•
TxRx
—CDP packets can be transmitted and received.
•
Disable
—CDP packets cannot be transmitted or received.
To make CDP-compatible LLDP take effect on ports, follow these steps:
1.
Enable CDP-compatible LLDP globally.
2.
Configure CDP-compatible LLDP to operate in TxRx mode.
The maximum TTL value that CDP allows is 255 seconds. To make CDP-compatible LLDP work
correctly with Cisco IP phones, configure the LLDP frame transmission interval to be no more than
1/3 of the TTL value.
To enable LLDP to be compatible with CDP: