The lldp compliance cdp txrx command enables an interface to exchange information with CDP-capable devices.
The undo lldp compliance cdp txrx command disables an interface from exchanging information with CDP-capable devices.
By default, an interface cannot exchange information with CDP-capable devices.
MEth interface view, Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, port group view
Usage Scenario
Some IP phones send proprietary protocol packets but not DHCP packets to apply for IP addresses. After you run the lldp compliance cdp txrx command on an interface, the switch can identify proprietary protocol packets sent from such the IP phone connected to the interface and respond to the proprietary protocol packets. In addition, the switch assigns the voice VLAN configured on the LLDP module to the IP phone.
Prerequisites
Precautions
An Ethernet interface supports this command no matter whether it works in Layer 2 or Layer 3 mode.
When a switch connects the IP phones of some vendors, you are advised to run the lldp tlv-enable med-tlv network-policy voice-vlan vlan vlan-id command to specify the voice VLAN ID in the MED TLVs advertised from the interface.